Wakeup main loop on peer message received

This commit is contained in:
Kovid Goyal 2017-11-23 22:40:30 +05:30
parent be6151730d
commit e1c553e7b2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -958,6 +958,7 @@ handle_peer(ChildMonitor *self, int s) {
Message *m = self->messages + self->messages_count++;
m->data = buf; m->sz = buf_used;
children_mutex(unlock);
wakeup_main_loop();
} else free(buf);
}