Skip to content

Commit

Permalink
Ensure forked manager doesn't become a zombie
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro committed Feb 22, 2012
1 parent 63e1b63 commit 61705cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/specjour/dispatcher.rb
Expand Up @@ -73,6 +73,7 @@ def fork_local_manager
puts "No listeners found on this machine, starting one..."
manager_options = {:worker_size => options[:worker_size], :registered_projects => [project_alias], :rsync_port => rsync_port}
manager = Manager.start_quietly manager_options
Process.detach manager.pid
fetch_manager(manager.drb_uri)
at_exit do
unless Specjour.interrupted?
Expand Down

0 comments on commit 61705cc

Please sign in to comment.