mirror of
https://github.com/oven-sh/bun
synced 2026-02-19 07:12:24 +00:00
make this actually unreachable
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user