mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-09-16 17:27:18 +02:00
Clear the tag as well when releasing task resources.
This commit is contained in:
@@ -55,6 +55,7 @@ void Tasks::Task::Init(HSQOBJECT & func, HSQOBJECT & inst, Interval intrv, Itera
|
|||||||
void Tasks::Task::Release()
|
void Tasks::Task::Release()
|
||||||
{
|
{
|
||||||
mHash = 0;
|
mHash = 0;
|
||||||
|
mTag.clear();
|
||||||
mFunc.Release();
|
mFunc.Release();
|
||||||
mInst.Release();
|
mInst.Release();
|
||||||
mData.Release();
|
mData.Release();
|
||||||
|
Reference in New Issue
Block a user