mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
Load in the right order
This commit is contained in:
parent
76da287cca
commit
0804647441
1 changed files with 2 additions and 1 deletions
|
@ -296,7 +296,8 @@ class InputWaiter {
|
|||
|
||||
if (this.pendingFiles.length > 0) {
|
||||
log.debug("Loading file completed. Loading next file.");
|
||||
const nextFile = this.pendingFiles.pop();
|
||||
const nextFile = this.pendingFiles[0];
|
||||
this.pendingFiles.splice(0, 1);
|
||||
currentWorker.inputNum = nextFile.inputNum;
|
||||
currentWorker.worker.postMessage({
|
||||
file: nextFile.file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue