This commit is contained in:
Dmitry Vasilev
2023-07-28 20:31:38 +03:00
parent 33a3a53984
commit e3ccdaafc6
3 changed files with 13 additions and 2 deletions

View File

@@ -44,10 +44,12 @@ const do_run = function*(module_fns, cxt, io_trace){
cxt = (io_trace == null || io_trace.length == 0)
// TODO group all io_trace_ properties to single object?
? {...cxt,
logs: [],
io_trace_is_recording: true,
io_trace: [],
}
: {...cxt,
logs: [],
io_trace_is_recording: false,
io_trace,
io_trace_is_replay_aborted: false,