Files
Adolanium 5c9d0aa0b3 fix(windows): keep N-API failures inside the callback (#13193)
* fix(windows): keep native call failures inside the N-API callback

failureValue can throw while it builds the JS error. That second Failure left call() and could terminate the process. A pending exception stays the result.

* fix(windows): keep input completion inside the N-API callback

completeInput rejected through failureValue with no catch. A throw skipped the process reference release and escaped the completion callback.

* fix(windows): release the snapshot root reference when admission fails

The reference was created before the async-work try, so a later throw leaked it. Completion now reports cleanup failures without leaving the callback.
2026-11-26 13:33:25 -05:00
..