Do not update notify if already notified.

This commit is contained in:
Martin Edenhofer 2016-03-25 13:11:24 +01:00
parent b75724450b
commit e10d530d61

View file

@ -335,6 +335,7 @@ class _taskManagerSingleton extends App.Controller
task = @get(key)
if !task
throw "No such task with '#{key}' to notify"
return if task.notify
task.notify = true
@taskUpdate(task)