Bug 1080130 - Force GC to close all used socket immediately. r=jmaher

This commit is contained in:
Shih-Chiang Chien 2015-04-02 14:57:29 +08:00
parent d3f69d556d
commit 2d3902f243

View File

@ -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);
}