lib/vedeu/main_loop.rb in vedeu-0.4.13 vs lib/vedeu/main_loop.rb in vedeu-0.4.14

- old
+ new

@@ -19,16 +19,15 @@ # @return [void] def self.start!(&block) @started = true @loop = true - while(@loop) do + while @loop yield safe_exit_point! end rescue VedeuInterrupt - end # :nocov: # Signal that we wish to terminate the running application. #