[default] Fix possible crash at RunLoop::wake()

This commit is contained in:
Mikhail Pozdnyakov
2020-03-01 21:27:24 +02:00
parent 3a530d5589
commit 25c8d0ecc8

View File

@@ -130,7 +130,7 @@ LOOP_HANDLE RunLoop::getLoopHandle() {
}
void RunLoop::wake() {
impl->async->send();
if (impl->async) impl->async->send();
}
void RunLoop::run() {