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:
Jonathan G Rennison
2023-09-15 20:44:22 +01:00
28 changed files with 160 additions and 198 deletions

View File

@@ -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);