mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
fix
This commit is contained in:
@@ -208,7 +208,11 @@ test('AbortSignal.timeout() does not prevent the signal from being collected', a
|
||||
}
|
||||
|
||||
await sleep(10);
|
||||
globalThis.gc();
|
||||
if(typeof Bun !== "undefined") {
|
||||
Bun.gc(true);
|
||||
}else{
|
||||
globalThis.gc();
|
||||
}
|
||||
strictEqual(ref.deref(), undefined);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user