mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 14:57:57 +02:00
Qt,Qt5: use Release() instead of Destroy() to prevent potential crash.
This commit is contained in:
parent
d58e00b0d1
commit
68b7b9fad9
@ -241,7 +241,7 @@ procedure TQtTimerEx.signalWidgetDestroyed; cdecl;
|
||||
begin
|
||||
Stop;
|
||||
FTimerList.Delete(FHandle, FID);
|
||||
Destroy;
|
||||
Release;
|
||||
end;
|
||||
|
||||
procedure TQtTimerEx.signalTimeout; cdecl;
|
||||
|
@ -241,7 +241,7 @@ procedure TQtTimerEx.signalWidgetDestroyed; cdecl;
|
||||
begin
|
||||
Stop;
|
||||
FTimerList.Delete(FHandle, FID);
|
||||
Destroy;
|
||||
Release;
|
||||
end;
|
||||
|
||||
procedure TQtTimerEx.signalTimeout; cdecl;
|
||||
|
Loading…
Reference in New Issue
Block a user