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
|
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
|
// Release the reference to the specified callback
|
||||||
m_OnTrigger.Release();
|
m_OnTrigger.Release();
|
||||||
|
// Release the reference to the specified user data
|
||||||
LogInf("]BasicEvent::VMClose() %d %d",
|
m_Data.Release();
|
||||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetEnv()),
|
|
||||||
sq_getrefcount(m_OnTrigger.GetVM(), &m_OnTrigger.GetFunc())
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ================================================================================================
|
// ================================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user