1
0
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:
Sandu Liviu Catalin 2015-10-29 22:57:07 +02:00
parent 4b71f2006f
commit c71ac39bb8

View File

@ -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();
}
// ================================================================================================