Kill the testworker to save memory usage
parent
06809fd3ba
commit
24ea640397
|
@ -1368,10 +1368,12 @@ define([
|
|||
errEv.preventDefault();
|
||||
errEv.stopPropagation();
|
||||
noWorker = true;
|
||||
worker.terminate();
|
||||
w();
|
||||
};
|
||||
worker.onmessage = function (ev) {
|
||||
if (ev.data === "OK") {
|
||||
worker.terminate();
|
||||
w();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue