Bugfix
GitOrigin-RevId: bc0e81dec7fed8ef1fa47a8c529bc2a3aee01b48
This commit is contained in:
parent
3266984243
commit
3e991d2464
@ -53,7 +53,6 @@ class BufferedStdinImpl {
|
|||||||
public:
|
public:
|
||||||
BufferedStdinImpl() {
|
BufferedStdinImpl() {
|
||||||
file_fd_ = FileFd::from_native_fd(NativeFd(Stdin().get_native_fd().raw()));
|
file_fd_ = FileFd::from_native_fd(NativeFd(Stdin().get_native_fd().raw()));
|
||||||
file_fd_.get_native_fd().set_is_blocking(false);
|
|
||||||
read_thread_ = td::thread([this] { this->read_loop(); });
|
read_thread_ = td::thread([this] { this->read_loop(); });
|
||||||
}
|
}
|
||||||
~BufferedStdinImpl() {
|
~BufferedStdinImpl() {
|
||||||
|
Reference in New Issue
Block a user