mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1080130 - Force GC to close all used socket immediately. r=jmaher
This commit is contained in:
parent
d3f69d556d
commit
2d3902f243
@ -321,6 +321,9 @@ function testOpenWithoutClose() {
|
||||
closed.push(socket.closed);
|
||||
}
|
||||
|
||||
SpecialPowers.gc();
|
||||
info('all unrefereced socket should be closed right after GC');
|
||||
|
||||
return Promise.all(closed);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user