diff --git a/base/QtMain.cpp b/base/QtMain.cpp index 72078ef6f7..1d7d1c5c3b 100644 --- a/base/QtMain.cpp +++ b/base/QtMain.cpp @@ -218,8 +218,10 @@ int main(int argc, char *argv[]) exit(0); #endif NativeShutdownGraphics(); +#ifdef QT_HAS_SDL SDL_PauseAudio(1); SDL_CloseAudio(); +#endif NativeShutdown(); net::Shutdown(); return ret;