mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Increase the chance of having a finalizer called.
This commit is contained in:
parent
8ae076d9ea
commit
b8170fb7e2
1 changed files with 4 additions and 2 deletions
|
|
@ -807,8 +807,10 @@ module TestHTTPCookieJar
|
|||
db = jar.store.instance_variable_get(:@db)
|
||||
break
|
||||
}
|
||||
GC.start
|
||||
assert_send [db, :closed?]
|
||||
at_exit {
|
||||
GC.start
|
||||
assert_send [db, :closed?]
|
||||
}
|
||||
end
|
||||
|
||||
def test_upgrade_mozillastore
|
||||
|
|
|
|||
Loading…
Reference in a new issue