1
0
Fork 0

Fix #13921, d95422561b: [Win32] Don't try close an already closed event handle during destruction.

pull/13924/head
Michael Lutz 2025-03-30 13:54:54 +02:00
parent 20cce9e20c
commit 4f9c285c7e
1 changed files with 4 additions and 1 deletions

View File

@ -1195,7 +1195,10 @@ void MusicDriver_DMusic::Stop()
_music = nullptr;
}
if (_thread_event != nullptr) {
CloseHandle(_thread_event);
_thread_event = nullptr;
}
CoUninitialize();
}