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

View File

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