From b2dd9aa7e32665bce6f9123fc3758c4e9025cd3e Mon Sep 17 00:00:00 2001 From: cirospaciari Date: Mon, 19 Feb 2024 19:02:42 -0300 Subject: [PATCH] make this actually unreachable --- src/io/PipeReader.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/PipeReader.zig b/src/io/PipeReader.zig index 6d20fd616e..31609a8998 100644 --- a/src/io/PipeReader.zig +++ b/src/io/PipeReader.zig @@ -408,8 +408,8 @@ pub fn WindowsPipeReader( } pub fn close(this: *This) void { - this.stopReading().unwrap() catch unreachable; const pipe = this._pipe() orelse return; + this.stopReading().unwrap() catch unreachable; pipe.close(&onClosePipe); } };