summaryrefslogtreecommitdiff
path: root/core/gotham_state.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-03-13 08:58:17 -0400
committerGitHub <noreply@github.com>2023-03-13 12:58:17 +0000
commit224cff7a2f1de9cc821c34ccac63cc9e4ef17531 (patch)
treefc3a8b28fc139899543724391b752e1bd5ed10a2 /core/gotham_state.rs
parente712fbfe4a56cf0d8e39354afbb8204e83d147f3 (diff)
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.
Diffstat (limited to 'core/gotham_state.rs')
-rw-r--r--core/gotham_state.rs4
1 files changed, 0 insertions, 4 deletions
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<T: 'static>(&mut self) -> T {
self.try_take().unwrap_or_else(|| missing::<T>())
}
-
- pub fn clear(&mut self) {
- self.data.clear();
- }
}
fn missing<T: 'static>() -> ! {