src/Pure/Thy/thy_info.ML
changeset 31542 3371a3c19bb1
parent 30819 17bd1cf53d8e
child 32061 11f8ee55662d
equal deleted inserted replaced
31541:4ed9d9dc17ee 31542:3371a3c19bb1
   385   Graph.topological_order tasks
   385   Graph.topological_order tasks
   386   |> List.app (fn name =>
   386   |> List.app (fn name =>
   387     (case Graph.get_node tasks name of
   387     (case Graph.get_node tasks name of
   388       Task body =>
   388       Task body =>
   389         let val after_load = body ()
   389         let val after_load = body ()
   390         in after_load () handle exn => (kill_thy name; raise exn) end
   390         in after_load () handle exn => (kill_thy name; reraise exn) end
   391     | _ => ()));
   391     | _ => ()));
   392 
   392 
   393 in
   393 in
   394 
   394 
   395 fun schedule_tasks tasks n =
   395 fun schedule_tasks tasks n =