1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Properly terminate all command controllers and release their resources and callbacks to prevent a server crash at shutdown since callbacks were not released.

This commit is contained in:
Sandu Liviu Catalin
2016-07-14 21:29:04 +03:00
parent c854700cac
commit 498c02fa83
2 changed files with 7 additions and 3 deletions

View File

@ -1193,7 +1193,7 @@ void Register_Command(HSQUIRRELVM vm)
*/
void TerminateCommands()
{
Cmd::Controller::ClearAll();
Cmd::Controller::Terminate();
}
} // Namespace:: SqMod