DEL: Obsolete workaround

(cherry picked from commit 96c53ce2d9)
This commit is contained in:
Alexander Koblov 2026-04-18 13:56:45 +03:00
commit da547e7d0a

View file

@ -339,11 +339,11 @@ end;
procedure TWlxModule.UnloadModule;
begin
{$IF NOT (DEFINED(LCLQT) or DEFINED(LCLQT5) or DEFINED(LCLQT6) or DEFINED(LCLGTK2) or DEFINED(LCLGTK3))}
{$IF (not DEFINED(LINUX)) or ((FPC_VERSION > 2) or ((FPC_VERSION=2) and (FPC_RELEASE >= 5)))}
if FModuleHandle <> 0 then
begin
FreeLibrary(FModuleHandle);
{$ENDIF}
FModuleHandle := 0;
FModuleHandle := 0;
end;
{ Mandatory }
ListLoad := nil;
{ Optional }