1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-24 18:22:25 -05:00

Fix for deadlock. (Perhaps a FPC issue?)

This commit is contained in:
Merlijn Wajer 2010-04-12 13:35:34 +02:00
parent 28b12851e0
commit 0ab37b325d

View File

@ -84,7 +84,8 @@ end;
procedure TFunctionListFrame.FillThreadTerminate(Sender: TObject); procedure TFunctionListFrame.FillThreadTerminate(Sender: TObject);
begin begin
FillThread.Analyzer.Free; FillThread.Analyzer.Free;
FreeAndNil(FillThread); { Don't free the thread when it is already stopped... This causes deadlocks? }
//FreeAndNil(FillThread);
ScriptNode.Expand(true); ScriptNode.Expand(true);
FunctionList.EndUpdate; FunctionList.EndUpdate;
if Filtering then if Filtering then