mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Remove debugging code form the basic event type.
This commit is contained in:
parent
4b71f2006f
commit
c71ac39bb8
@ -1908,18 +1908,10 @@ void BasicEvent::Detach() noexcept
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void BasicEvent::VMClose() noexcept
|
||||
{
|
||||
LogInf("[BasicEvent::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
|
||||
m_OnTrigger.Release();
|
||||
|
||||
LogInf("]BasicEvent::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 user data
|
||||
m_Data.Release();
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user