Skip to content

Commit

Permalink
Forgot we set the GC here. It gets overriden by the later call.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles committed Nov 19, 2024
1 parent a797952 commit 424c554
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/javy/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ impl Runtime {
pub fn new(config: Config) -> Result<Self> {
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 })
}
Expand Down

0 comments on commit 424c554

Please sign in to comment.