diff options
Diffstat (limited to 'Source/Core/AudioCommon/AlsaSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AlsaSoundStream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/AlsaSoundStream.cpp b/Source/Core/AudioCommon/AlsaSoundStream.cpp index d249640d1b..44f47400d9 100644 --- a/Source/Core/AudioCommon/AlsaSoundStream.cpp +++ b/Source/Core/AudioCommon/AlsaSoundStream.cpp @@ -25,7 +25,8 @@ AlsaSound::~AlsaSound() // Give the opportunity to the audio thread // to realize we are stopping the emulation cv.notify_one(); - thread.join(); + if (thread.joinable()) + thread.join(); } bool AlsaSound::Init() |
