mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
Fix crash when macros return a Promise
This commit is contained in:
@@ -433,6 +433,8 @@ pub const VirtualMachine = struct {
|
||||
modules: ModuleLoader.AsyncModule.Queue = .{},
|
||||
aggressive_garbage_collection: GCLevel = GCLevel.none,
|
||||
|
||||
gc_controller: JSC.GarbageCollectionController = .{},
|
||||
|
||||
pub const GCLevel = enum(u3) {
|
||||
none = 0,
|
||||
mild = 1,
|
||||
|
||||
Reference in New Issue
Block a user