Fix: Hang on exit game and CC is enabled
Happens during dev - might affect release, so PRing this.
This commit is contained in:
parent
5771e6cd1f
commit
299f68caa6
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue