diff --git a/src/io/PipeWriter.zig b/src/io/PipeWriter.zig index 4a9ae1a452..58e6bf852e 100644 --- a/src/io/PipeWriter.zig +++ b/src/io/PipeWriter.zig @@ -1069,7 +1069,7 @@ pub fn WindowsStreamingWriter( } fn hasPendingData(this: *WindowsWriter) bool { - return (this.outgoing.isNotEmpty() and this.current_payload.isNotEmpty()); + return (this.outgoing.isNotEmpty() or this.current_payload.isNotEmpty()); } fn isDone(this: *WindowsWriter) bool {