mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Remove debugging code form the local event type.
This commit is contained in:
parent
2f0d7d1444
commit
031f82b9df
@ -2209,18 +2209,15 @@ void LocalEvent::Adaptable(SQInt32 type, bool inversed) noexcept
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void LocalEvent::VMClose() noexcept
|
||||
{
|
||||
LogInf("[LocalEvent::VMClose() %d %d",
|
||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetEnv()),
|
||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetFunc())
|
||||
);
|
||||
|
||||
// Release the reference to the specified callback
|
||||
// Release the reference to the specified callbacks
|
||||
m_OnTrigger.Release();
|
||||
m_OnInclude.Release();
|
||||
m_OnExclude.Release();
|
||||
m_OnCleared.Release();
|
||||
m_OnRelease.Release();
|
||||
// Release the reference to the specified user data
|
||||
m_Data.Release();
|
||||
|
||||
LogInf("]LocalEvent::VMClose() %d %d",
|
||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetEnv()),
|
||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetFunc())
|
||||
);
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user