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

View File

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