summaryrefslogtreecommitdiff
path: root/server/src/task.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/task.lua')
-rw-r--r--server/src/task.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/task.lua b/server/src/task.lua
index 88db7a28..bb1a7922 100644
--- a/server/src/task.lua
+++ b/server/src/task.lua
@@ -7,6 +7,7 @@ function mt:remove()
return
end
self._removed = true
+ coroutine.close(self.task)
end
function mt:isRemoved()