Kill the testworker to save memory usage

pull/1/head
yflory 5 years ago
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…
Cancel
Save