Fix: Hang on exit game and CC is enabled (#2427)

Happens during dev - might affect release, so PRing this.
This commit is contained in:
David Chavez 2023-02-06 11:02:51 +01:00 committed by GitHub
parent 5771e6cd1f
commit 8a76a3aa83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}