From 224cff7a2f1de9cc821c34ccac63cc9e4ef17531 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 13 Mar 2023 08:58:17 -0400 Subject: Revert "feat(core): prevent isolate drop for CLI main worker (#18059)" (#18157) Fixes https://github.com/denoland/deno/issues/18120 https://github.com/denoland/deno/issues/18137 https://github.com/denoland/fresh/issues/1073 This reverts commit 0cce9c2bcc9667935a571d30847e66ef5d01a196. --- core/ops.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/ops.rs') diff --git a/core/ops.rs b/core/ops.rs index b2442634e..ca465c821 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -179,10 +179,6 @@ impl OpState { tracker: OpsTracker::new(ops_count), } } - - pub fn clear_state(&mut self) { - self.gotham_state.clear(); - } } impl Deref for OpState { -- cgit v1.2.3