We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49cdbcd commit 73e546cCopy full SHA for 73e546c
crates/luars/src/gc/mod.rs
@@ -780,6 +780,9 @@ impl GC {
780
self.mark_one(gc_id, pool);
781
}
782
783
+ // Clear weak table entries before sweep
784
+ self.clear_weak_tables(pool);
785
+
786
// Sweep young objects and age them
787
let collected = self.sweep_young(pool);
788
self.stats.objects_collected += collected;
@@ -951,6 +954,8 @@ impl GC {
951
954
// Do a full mark-sweep
952
955
self.clear_marks(pool);
953
956
self.mark_roots(roots, pool);
957
958
959
let collected = self.sweep(pool);
960
961
// Reset generational state
0 commit comments