Fix: Hang on exit game and CC is enabled (#2427)
Happens during dev - might affect release, so PRing this.
This commit is contained in:
@@ -604,6 +604,7 @@ extern "C" void InitOTR() {
|
|||||||
extern "C" void DeinitOTR() {
|
extern "C" void DeinitOTR() {
|
||||||
OTRAudio_Exit();
|
OTRAudio_Exit();
|
||||||
#ifdef ENABLE_CROWD_CONTROL
|
#ifdef ENABLE_CROWD_CONTROL
|
||||||
|
CrowdControl::Instance->Disable();
|
||||||
CrowdControl::Instance->Shutdown();
|
CrowdControl::Instance->Shutdown();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user