mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 11:11:11 +08:00
style: 冗余闭包改函数路径并补文档段空行
This commit is contained in:
@@ -622,7 +622,7 @@ impl SessionGc {
|
||||
if obj.is_gc_marked() && obj.is_weak_map_obj() {
|
||||
// SAFETY: 弱表 native 盒独占,整表重建在定夺期间无并发读者。
|
||||
unsafe {
|
||||
weak_map::rewrite_weak_map_native(&mut *ptr, |key| resolve_weak_key_sweep(key), |value| value);
|
||||
weak_map::rewrite_weak_map_native(&mut *ptr, resolve_weak_key_sweep, |value| value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user