8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:43:02 +01:00

Fixed CORE-5757: deadlock with events

This commit is contained in:
AlexPeshkoff 2018-02-25 20:06:33 +03:00
parent f7a663f3a0
commit 1888eab6f3

View File

@ -2090,6 +2090,8 @@ static void select_port(rem_port* main_port, Select* selct, RemPortPtr& port)
case Select::SEL_BAD: case Select::SEL_BAD:
if (port->port_state == rem_port::BROKEN || (port->port_flags & PORT_connecting)) if (port->port_state == rem_port::BROKEN || (port->port_flags & PORT_connecting))
continue; continue;
if (port->port_flags & PORT_async)
continue;
return; return;
case Select::SEL_DISCONNECTED: case Select::SEL_DISCONNECTED: