Wake up talk loop when not sending response to peer
This commit is contained in:
parent
22673ebd90
commit
4ffcbc8274
1 changed files with 1 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ parse_input(ChildMonitor *self) {
|
|||
}
|
||||
if (resp) {
|
||||
if (PyBytes_Check(resp)) send_response_to_peer(msg->peer_id, PyBytes_AS_STRING(resp), PyBytes_GET_SIZE(resp));
|
||||
else send_response_to_peer(msg->peer_id, NULL, 0);
|
||||
Py_CLEAR(resp);
|
||||
} else send_response_to_peer(msg->peer_id, NULL, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue