mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Fix stepping not working.
Use transferable object for sending arraybuffers to workers
This commit is contained in:
parent
d326cad611
commit
0e850b2a85
6 changed files with 47 additions and 32 deletions
|
@ -114,7 +114,8 @@ class OutputWaiter {
|
|||
statusMessage: `Input ${inputNum} has not been baked yet.`,
|
||||
error: null,
|
||||
status: "inactive",
|
||||
bakeId: -1
|
||||
bakeId: -1,
|
||||
progress: 0
|
||||
};
|
||||
|
||||
this.outputs[inputNum] = newOutput;
|
||||
|
@ -1300,7 +1301,6 @@ class OutputWaiter {
|
|||
});
|
||||
} else if (output.status === "baked" && showBaked) {
|
||||
let data = this.getOutput(iNum, false).slice(0, 4096);
|
||||
log.error(output);
|
||||
if (typeof data !== "string") {
|
||||
data = Utils.arrayBufferToStr(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue