Merge branch 'next' of git.gitorious.org:fg/simgear into next

This commit is contained in:
Martin Spott
2011-09-08 18:09:24 +02:00
+1 -1
View File
@@ -71,7 +71,7 @@ struct SGThread::PrivateData {
{ {
if (_handle == INVALID_HANDLE_VALUE) if (_handle == INVALID_HANDLE_VALUE)
return; return;
DWORD ret = WaitForSingleObject(_handle, 0); DWORD ret = WaitForSingleObject(_handle, INFINITE);
if (ret != WAIT_OBJECT_0) if (ret != WAIT_OBJECT_0)
return; return;
CloseHandle(_handle); CloseHandle(_handle);