From 424c55436b478cba8bef6a3096e82b6bf7641662 Mon Sep 17 00:00:00 2001 From: Jeff Charles Date: Tue, 19 Nov 2024 17:19:08 -0500 Subject: [PATCH] Forgot we set the GC here. It gets overriden by the later call. --- crates/javy/src/runtime.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/javy/src/runtime.rs b/crates/javy/src/runtime.rs index 94edfd0f..81011bb4 100644 --- a/crates/javy/src/runtime.rs +++ b/crates/javy/src/runtime.rs @@ -44,8 +44,6 @@ impl Runtime { pub fn new(config: Config) -> Result { let rt = ManuallyDrop::new(QRuntime::new()?); - // See comment above about configuring GC behaviour. - rt.set_gc_threshold(usize::MAX); let context = Self::build_from_config(&rt, config)?; Ok(Self { inner: rt, context }) }