diff options
Diffstat (limited to 'plugins/Actman')
-rw-r--r-- | plugins/Actman/i_actlow.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Actman/i_actlow.inc b/plugins/Actman/i_actlow.inc index a749aef27f..a620471398 100644 --- a/plugins/Actman/i_actlow.inc +++ b/plugins/Actman/i_actlow.inc @@ -600,7 +600,7 @@ begin tmp^.group :=group;
tmp^.last :=alast;
tmp^.event :=CreateEvent(nil,FALSE,FALSE,nil);
- CloseHandle(mir_forkthread(@ThDoAction,tmp));
+ mir_forkthread(@ThDoAction,tmp);
WaitForSingleObjectEx(tmp.event,INFINITE,true);
CloseHandle(tmp^.event);
result:=tmp^.last;
@@ -617,7 +617,7 @@ begin tmp^.group :=group;
tmp^.last :=alast;
tmp^.event :=0;
- CloseHandle(mir_forkthread(@ThDoAction,tmp));
+ mir_forkthread(@ThDoAction,tmp);
end;
procedure ReallocActionList(var ActList:pActList;var MaxAct:cardinal);
|