From 659f522efa737efeebed101d532590a22f9c6990 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Thu, 17 Nov 2016 20:04:32 +0200 Subject: [PATCH] Clear the tag as well when releasing task resources. --- source/Tasks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Tasks.cpp b/source/Tasks.cpp index 813e3a98..53867310 100644 --- a/source/Tasks.cpp +++ b/source/Tasks.cpp @@ -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();