aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm/asyncTaskQueue.ml
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2016-08-30 14:11:44 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2016-08-30 14:47:47 +0200
commit3da141c5dfed50e1b9a4ad5421b4abacdcc23dae (patch)
tree2c5c13780ed39810fcfba6bc44cb4852a81704f5 /stm/asyncTaskQueue.ml
parent6231f07b2b7b31db93ce9fd4606450e3fa8b747f (diff)
Fix #4871 - interrupting par:abstract kills coqtop
Fix done with Enrico.
Diffstat (limited to 'stm/asyncTaskQueue.ml')
-rw-r--r--stm/asyncTaskQueue.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/stm/asyncTaskQueue.ml b/stm/asyncTaskQueue.ml
index 1214fc4da..613ddb4da 100644
--- a/stm/asyncTaskQueue.ml
+++ b/stm/asyncTaskQueue.ml
@@ -230,10 +230,8 @@ module Make(T : Task) = struct
| (Die | TQueue.BeingDestroyed) ->
giveback_exec_token (); kill proc; exit ()
| Sys_error _ | Invalid_argument _ | End_of_file ->
- giveback_exec_token ();
T.on_task_cancellation_or_expiration_or_slave_death !last_task;
- kill proc;
- exit ()
+ giveback_exec_token (); kill proc; exit ()
end
module Pool = WorkerPool.Make(Model)