diff options
Diffstat (limited to 'Stars45/StarServer.cpp')
-rw-r--r-- | Stars45/StarServer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Stars45/StarServer.cpp b/Stars45/StarServer.cpp index 96b34a0..daba657 100644 --- a/Stars45/StarServer.cpp +++ b/Stars45/StarServer.cpp @@ -525,6 +525,8 @@ DWORD WINAPI StarServerRestartProc(LPVOID link) CreateProcess("stars.exe", cmdline, 0, 0, 0, 0, 0, 0, &s, &pi);
stars->Exit();
+ CloseHandle( pi.hProcess );
+ CloseHandle( pi.hThread );
return 0;
}
|