src/Pure/PIDE/document.ML
changeset 38873 278f552b2e97
parent 38449 2eb6bad282b1
child 38888 8248cda328de
--- a/src/Pure/PIDE/document.ML	Mon Aug 30 13:01:32 2010 +0200
+++ b/src/Pure/PIDE/document.ML	Mon Aug 30 14:56:27 2010 +0200
@@ -263,7 +263,8 @@
         | force_exec (SOME exec_id) = ignore (Lazy.force (the_exec state exec_id));
 
       val _ = List.app Future.cancel execution;
-      fun await_cancellation () = uninterruptible (fn _ => Future.join_results) execution;
+      fun await_cancellation () =
+        uninterruptible (fn _ => fn () => Future.join_results execution) ();
 
       val execution' = (* FIXME proper node deps *)
         node_names_of version |> map (fn name =>