Call ReentrantMutex::init() in stdout().
This commit is contained in:
parent
45700a9d58
commit
6f9c1323a7
@ -548,7 +548,9 @@ pub fn stdout() -> Stdout {
|
||||
}
|
||||
}
|
||||
});
|
||||
ReentrantMutex::new(RefCell::new(LineWriter::new(stdout_raw())))
|
||||
let r = ReentrantMutex::new(RefCell::new(LineWriter::new(stdout_raw())));
|
||||
r.init();
|
||||
r
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user