From ce02a488f0bd1980c725d97335477a4c96fda075 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Thu, 15 Aug 2024 00:50:13 +0300 Subject: [PATCH] Remove sleep() (#324) Near instantaneous program exit when we let the CPU do its thing :) --- sgp/soundman.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/sgp/soundman.cpp b/sgp/soundman.cpp index 743dd087..02d33d3e 100644 --- a/sgp/soundman.cpp +++ b/sgp/soundman.cpp @@ -261,7 +261,6 @@ void ShutdownSoundManager(void) SoundStopAll(); SoundShutdownCache(); - Sleep(1000); SoundShutdownHardware(); fSoundSystemInit=FALSE; SoundLog("JA2 sound manager shutdown");