mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 12:07:13 +01:00
Also release the context when terminating the command manager.
This commit is contained in:
parent
aad10948b9
commit
2e55f99860
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user