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