Redo how we poll pipes (#1496)

* Fix pipe

* Handle unregistered

* Fix failing test
This commit is contained in:
Jarred Sumner
2022-11-12 18:30:12 -08:00
committed by GitHub
parent 514f2a8edd
commit 21bf3ddaf2
22 changed files with 1245 additions and 701 deletions

View File

@@ -417,7 +417,6 @@ pub const VirtualMachine = struct {
active_tasks: usize = 0,
rare_data: ?*JSC.RareData = null,
poller: JSC.Poller = JSC.Poller{},
us_loop_reference_count: usize = 0,
is_us_loop_entered: bool = false,
pending_internal_promise: *JSC.JSInternalPromise = undefined,