Fix BufferedStdinImpl destruction.
This commit is contained in:
parent
47e413e0b8
commit
c1a1fc881c
@ -133,6 +133,7 @@ class BufferedStdinImpl : public Iocp::Callback {
|
||||
}
|
||||
}
|
||||
if (!iocp_ref_.post(0, this, nullptr)) {
|
||||
read_thread_.detach();
|
||||
dec_refcnt();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user