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/gotham_state.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/gotham_state.rs') diff --git a/core/gotham_state.rs b/core/gotham_state.rs index 43019eabb..422499f2f 100644 --- a/core/gotham_state.rs +++ b/core/gotham_state.rs @@ -76,10 +76,6 @@ impl GothamState { pub fn take(&mut self) -> T { self.try_take().unwrap_or_else(|| missing::()) } - - pub fn clear(&mut self) { - self.data.clear(); - } } fn missing() -> ! { -- cgit v1.2.3