diff --git a/src/cmd.js b/src/cmd.js index 3196f43..57cf6f1 100644 --- a/src/cmd.js +++ b/src/cmd.js @@ -926,6 +926,9 @@ const open_app_window = (state, globals) => { external_imports_cache: null, // Bust parse result cache because list of globals may change parse_result: null, + // Clear io trace because promises in io_trace become invalid after their + // window close + io_trace: null, }) }