Fix WFModuleTask's dismiss interface

This commit is contained in:
XieHan
2022-05-11 04:10:06 +08:00
parent 0ad2b1c351
commit ace21b44c5
+7 -3
View File
@@ -778,10 +778,14 @@ protected:
{
SubTask *task = this->first;
while (task)
if (task)
{
delete task;
task = this->pop_task();
this->SeriesWork::callback = nullptr;
do
{
delete task;
task = this->pop_task();
} while (task);
}
}
};