be sure to actually catch signals for closing and act on them

This commit is contained in:
John Bintz 2013-04-08 09:41:59 -04:00
parent ab1b4dd951
commit f94d03c6ae
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ module PersistentSelenium
DRb.start_service PersistentSelenium.url, @browser
trap('TERM') { exit }
trap('INT') { exit }
DRb.thread.join
end