From c71ac39bb892b2d8d6f7f568d004b3e8c570ce39 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Thu, 29 Oct 2015 22:57:07 +0200 Subject: [PATCH] Remove debugging code form the basic event type. --- source/Event/Basic.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/source/Event/Basic.cpp b/source/Event/Basic.cpp index 04cb04b9..e33f1f3c 100644 --- a/source/Event/Basic.cpp +++ b/source/Event/Basic.cpp @@ -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(); } // ================================================================================================