aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm/asyncTaskQueue.ml
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-17 14:18:40 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-17 15:05:05 +0100
commitfac26d37e7e0c9d2d1e3000256ab4641a6c9f95e (patch)
tree52980ead9de6ded8701846834019345aff15d220 /stm/asyncTaskQueue.ml
parentaaea1138a3a8b90aac0e8f3753a678467af36e72 (diff)
CoqIDE: cleanup jobs window on worker death
Diffstat (limited to 'stm/asyncTaskQueue.ml')
-rw-r--r--stm/asyncTaskQueue.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/asyncTaskQueue.ml b/stm/asyncTaskQueue.ml
index 3cb6e7022..917de9b52 100644
--- a/stm/asyncTaskQueue.ml
+++ b/stm/asyncTaskQueue.ml
@@ -146,6 +146,7 @@ module Make(T : Task) = struct
let manager cpanel (id, proc, ic, oc) =
let { WorkerPool.extra = queue; exit; cancelled } = cpanel in
+ let exit () = report_status ~id "Dead"; exit () in
let last_task = ref None in
let worker_age = ref `Fresh in
let got_token = ref false in