Compare commits

...

2 Commits

Author SHA1 Message Date
Dylan Conway
82a49ebd8a update 2026-01-28 05:30:44 +00:00
Dylan Conway
b36f89865a Revert "fix: check correct variable in subprocess stdin cleanup (#25562)"
This reverts commit 722ac3aa5a.
2026-01-27 19:56:01 -08:00

View File

@@ -590,7 +590,7 @@ pub fn onProcessExit(this: *Subprocess, process: *Process, status: bun.spawn.Sta
var existing_stdin_value = jsc.JSValue.zero;
if (this_jsvalue != .zero) {
if (jsc.Codegen.JSSubprocess.stdinGetCached(this_jsvalue)) |existing_value| {
if (existing_value.isCell()) {
if (existing_stdin_value.isCell()) {
if (stdin == null) {
// TODO: review this cast
stdin = @ptrCast(@alignCast(jsc.WebCore.FileSink.JSSink.fromJS(existing_value)));