]> git.mxchange.org Git - simgear.git/blobdiff - simgear/threads/SGThread.cxx
Working 'noshadow' animation
[simgear.git] / simgear / threads / SGThread.cxx
index b4afc65198ed83ffbbfe4a2a65e35ab086cbac15..8e5c3a36ac3e69243e8b5f3283aaddbe6db7f03a 100644 (file)
@@ -71,7 +71,7 @@ struct SGThread::PrivateData {
     {
         if (_handle == INVALID_HANDLE_VALUE)
             return;
-        DWORD ret = WaitForSingleObject(_handle, 0);
+        DWORD ret = WaitForSingleObject(_handle, INFINITE);
         if (ret != WAIT_OBJECT_0)
             return;
         CloseHandle(_handle);