feat: 异常与 return 穿越释放资源,dispose_count 门控

This commit is contained in:
2026-10-09 19:14:36 +00:00
parent 48ffb54c4f
commit ae73fb8da5
20 changed files with 264 additions and 152 deletions
+1
View File
@@ -841,6 +841,7 @@ fn reset_clears_runtime_state_like_rerun() {
finally_active: false,
frame_depth: 0,
for_of_depth: 0,
dispose_depth: 0,
});
vm.exception_value = Some(JsValue::int(2));
vm.pending_exception = Some(JsValue::int(3));