src/Pure/PIDE/session.scala
changeset 56772 725a192f8081
parent 56771 28d62a5b07e8
child 56775 59f70b89e5fd
equal deleted inserted replaced
56771:28d62a5b07e8 56772:725a192f8081
   498             }
   498             }
   499 
   499 
   500           case Stop =>
   500           case Stop =>
   501             if (prover.isDefined && is_ready) {
   501             if (prover.isDefined && is_ready) {
   502               _protocol_handlers = _protocol_handlers.stop(prover.get)
   502               _protocol_handlers = _protocol_handlers.stop(prover.get)
   503               global_state.change(_ => Document.State.init)  // FIXME event bus!?
   503               global_state.change(_ => Document.State.init)
   504               phase = Session.Shutdown
   504               phase = Session.Shutdown
   505               prover.get.terminate
   505               prover.get.terminate
   506             }
   506             }
   507 
   507 
   508           case Prune_History =>
   508           case Prune_History =>