Merge branch 'master' into jgrpp
# Conflicts: # src/console.cpp # src/console_func.h # src/network/network_server.cpp # src/os/unix/unix.cpp # src/spritecache.cpp # src/viewport.cpp
This commit is contained in:
@@ -98,8 +98,7 @@ void SoundDriver_Win32::Stop()
|
||||
|
||||
/* Stop the sound thread. */
|
||||
_waveout = nullptr;
|
||||
SetEvent(_event);
|
||||
WaitForSingleObject(_thread, INFINITE);
|
||||
SignalObjectAndWait(_event, _thread, INFINITE, FALSE);
|
||||
|
||||
/* Close the sound device. */
|
||||
waveOutReset(waveout);
|
||||
|
Reference in New Issue
Block a user