diff --git a/patches_for_WebRTC_org/m84/src/modules/audio_device/win/audio_device_core_win.cc b/patches_for_WebRTC_org/m84/src/modules/audio_device/win/audio_device_core_win.cc index 375890e..7976a77 100644 --- a/patches_for_WebRTC_org/m84/src/modules/audio_device/win/audio_device_core_win.cc +++ b/patches_for_WebRTC_org/m84/src/modules/audio_device/win/audio_device_core_win.cc @@ -635,6 +635,8 @@ struct AudioDeviceHelper : public DeviceHelper { CloseHandle(_hThread); _hThread = nullptr; _transporting = false; + _transportInitialized = false; + _mixerInitialized = false; return -1; } @@ -647,6 +649,8 @@ struct AudioDeviceHelper : public DeviceHelper { ResetEvent(_hShutdownEvent); _transporting = false; + _transportInitialized = false; + _mixerInitialized = false; CloseHandle(_hThread); _hThread = nullptr;