Add stopped status notion in Runner

This commit is contained in:
Thibault Jouan
2015-04-08 21:44:04 +00:00
parent 44a69b75c6
commit b354ffcd62
2 changed files with 36 additions and 0 deletions

View File

@@ -15,6 +15,14 @@ module Uh
@manager = manager
end
def stopped?
!!@stopped
end
def stop!
@stopped = true
end
def connect_manager
@manager.connect
@env.log "Connected to X server"