get the garbage collector under control
This commit is contained in:
parent
29de0c6e30
commit
4fd7b56734
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user