jewel/clearskies

Die properly if two instances are ran

onionjake opened this issue · 1 comments

If you run two clearskies instances you get a crashed thread, but clearskies continues to run. It should exit.

control> Thread crash: Daemon already running
control> /home/jake/repos/clearskies/lib/control_server.rb:23:in run' control> /home/jake/repos/clearskies/lib/control_server.rb:13:inblock in start'
control> /home/jake/repos/clearskies/lib/simple_thread.rb:72:in block (2 levels) in initialize' control> /home/jake/repos/clearskies/lib/simple_thread.rb:38:inglock'
control> /home/jake/repos/clearskies/lib/simple_thread.rb:70:in `block in initialize'

This was fixed in cd483e6.