|
|
@ -1187,11 +1187,13 @@ |
|
|
|
meta: msg.results.meta |
|
|
|
meta: msg.results.meta |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
delete msg.results; // free memory ASAP
|
|
|
|
} |
|
|
|
} |
|
|
|
else if (isFunction(worker.userChunk)) |
|
|
|
else if (isFunction(worker.userChunk)) |
|
|
|
|
|
|
|
{ |
|
|
|
worker.userChunk(msg.results, msg.file); |
|
|
|
worker.userChunk(msg.results, msg.file); |
|
|
|
|
|
|
|
delete msg.results; |
|
|
|
delete msg.results; // free memory ASAP
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (msg.finished) |
|
|
|
if (msg.finished) |
|
|
|