Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7bada0d

Browse files
committedMay 21, 2023
revert change from #29
1 parent c80315f commit 7bada0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎python4lazarus/PythonEngine.pas

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4028,10 +4028,15 @@ destructor TPythonEngine.Destroy;
40284028
GlobalVars := nil;
40294029
Destroying;
40304030
Finalize;
4031+
{$IFDEF FPC} // See https://github.com/Alexey-T/Python-for-Lazarus/issues/29
4032+
inherited;
4033+
{$ENDIF}
40314034
FClients.Free;
40324035
FInitScript.Free;
40334036
FTraceback.Free;
4037+
{$IFNDEF FPC}
40344038
inherited;
4039+
{$ENDIF}
40354040
end;
40364041

40374042
procedure TPythonEngine.Finalize;

0 commit comments

Comments
 (0)
Please sign in to comment.