Commit 2edfb106 authored by liuyang's avatar liuyang

增加程序前台判断逻辑,应用退出后任务恢复

parent b3f5ba97
...@@ -51,6 +51,8 @@ class TaskManager { ...@@ -51,6 +51,8 @@ class TaskManager {
} }
} }
} }
if (isExist(task))
remove(task)
this.tasks.add(task) this.tasks.add(task)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment