From 92fe237c2b0da0a51e14b56c0b6cb816227e7902 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Wed, 7 Feb 2024 14:05:02 +0800 Subject: [PATCH] fix bug --- src/cmd.js | 3 +++ 1 file changed, 3 insertions(+) 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, }) }