Remove a forgotten debug assert

The assert crashed the program when a race was detected because of
Issue #1
master
itycodes 3 weeks ago
parent e5fc3b149e
commit a35bb603ba

@ -208,7 +208,9 @@ fn main_loop(child: Pid, ptys: &Ptys) {
std::process::exit(-1); std::process::exit(-1);
} }
assert!(res != Ok(2), "Race condition between stdio and stderr"); // Race condition, will just default to stderr unless kernel ordering is used
// --------------------------------------------------------------------------
//assert!(res != Ok(2), "Race condition between stdio and stderr");
if unsafe{USE_KERNEL_ORDERING} { if unsafe{USE_KERNEL_ORDERING} {
match handle_poll( match handle_poll(

Loading…
Cancel
Save