1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Clear the tag as well when releasing task resources.

This commit is contained in:
Sandu Liviu Catalin 2016-11-17 20:04:32 +02:00
parent bf065d4f3a
commit 659f522efa

View File

@ -55,6 +55,7 @@ void Tasks::Task::Init(HSQOBJECT & func, HSQOBJECT & inst, Interval intrv, Itera
void Tasks::Task::Release()
{
mHash = 0;
mTag.clear();
mFunc.Release();
mInst.Release();
mData.Release();