be sure to actually catch signals for closing and act on them
This commit is contained in:
parent
ab1b4dd951
commit
f94d03c6ae
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user