Skip to content

Commit

Permalink
close browsers so that java can actually free some memory
Browse files Browse the repository at this point in the history
  • Loading branch information
langalex committed Mar 4, 2010
1 parent ba358f9 commit 5eb7d6e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
@host = 'http://localhost:3001'
end

After do
$server.close_browsers
end

at_exit do
$browser.exit if $browser
$server.close if $server
Expand Down

0 comments on commit 5eb7d6e

Please sign in to comment.