Fix: Hang on exit game and CC is enabled

Happens during dev - might affect release, so PRing this.
This commit is contained in:
David Chavez 2023-02-05 00:39:26 +01:00 committed by GitHub
parent 5771e6cd1f
commit 299f68caa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -604,6 +604,7 @@ extern "C" void InitOTR() {
extern "C" void DeinitOTR() {
OTRAudio_Exit();
#ifdef ENABLE_CROWD_CONTROL
CrowdControl::Instance->Disable();
CrowdControl::Instance->Shutdown();
#endif
}