Correctly call CoUninitialize() on Cubeb helper class destruction.

This commit is contained in:
Admiral H. Curtiss 2022-11-27 03:58:16 +01:00
commit 64bb9ae9a9
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
4 changed files with 21 additions and 2 deletions

View file

@ -37,6 +37,7 @@ private:
#ifdef _WIN32
Common::WorkQueueThread<std::function<void()>> m_work_queue;
bool m_coinit_success = false;
bool m_should_couninit = false;
#endif
static long DataCallback(cubeb_stream* stream, void* user_data, const void* /*input_buffer*/,