mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02:00
Also release the context when terminating the command manager.
This commit is contained in:
@ -259,6 +259,8 @@ void CmdManager::Deinitialize()
|
|||||||
}
|
}
|
||||||
// Clear the command list and release all references
|
// Clear the command list and release all references
|
||||||
m_Commands.clear();
|
m_Commands.clear();
|
||||||
|
// Release the current context if any
|
||||||
|
m_Context.Reset();
|
||||||
// Release the global callbacks
|
// Release the global callbacks
|
||||||
m_OnFail.ReleaseGently();
|
m_OnFail.ReleaseGently();
|
||||||
m_OnAuth.ReleaseGently();
|
m_OnAuth.ReleaseGently();
|
||||||
|
Reference in New Issue
Block a user