OSDN Git Service

終了時に、Mutexの所有権だけ解放して、Mutex自体を全然解放していなかった問題を修正(ReleaseMutex→CloseHandle)
authornaru <bottle@mikage.to>
Sun, 14 Mar 2004 09:05:44 +0000 (09:05 +0000)
committernaru <bottle@mikage.to>
Sun, 14 Mar 2004 09:05:44 +0000 (09:05 +0000)
bottleclient/MainForm.pas

index 24d0c96..eb8cf07 100755 (executable)
@@ -655,7 +655,8 @@ begin
   BottleChainRuleList.Free;
 
   {$IFDEF BOTTLEMUTEX}
-  ReleaseMutex(FMutex);
+  if FMutex > 0 then
+    CloseHandle(FMutex);
   {$ENDIF}
 end;