mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 11:07:02 +08:00
Fix WFModuleTask's dismiss interface
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user