get the garbage collector under control

This commit is contained in:
John Bintz 2012-11-27 07:51:23 -05:00
parent 29de0c6e30
commit 4fd7b56734
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,8 @@ module PersistentSelenium
end
def set_app_host(host)
load_splash_page
@app_host = host
end
@ -42,6 +44,10 @@ module PersistentSelenium
# instead.
end
end
GC.enable
GC.start
GC.disable
end
def starting_page