Bug 811102 test followup: terminate worker to avoid leak, r=markh

--HG--
extra : transplant_source : %E0%A1r%5B%B6k%FAIn%96%7D%88%1D%F57%A5%DCl%18T
This commit is contained in:
Gavin Sharp 2012-11-12 20:35:03 -08:00
parent edaa181c17
commit 99be44da3c

View File

@ -545,6 +545,7 @@ let tests = {
undefined, "testReloadAndNewPort");
worker2.port.onmessage = function(e) {
if (e.data.topic == "ready") {
worker2.terminate();
cbnext();
}
}