make this actually unreachable

This commit is contained in:
cirospaciari
2024-02-19 19:02:42 -03:00
parent 6905ef8f7e
commit b2dd9aa7e3

View File

@@ -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);
}
};