mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 12:43:03 +01:00
Postfix for CORE-5014: not good to disconnject same port twice, looks like I and Vlad tried to fix same bug simultaneously
This commit is contained in:
parent
3e31e873f4
commit
d395ac11eb
@ -2296,13 +2296,6 @@ static void aux_request( rem_port* port, /*P_REQ* request,*/ PACKET* send)
|
|||||||
connected = aux_port->connect(send) != NULL;
|
connected = aux_port->connect(send) != NULL;
|
||||||
if (connected)
|
if (connected)
|
||||||
aux_port->port_context = rdb;
|
aux_port->port_context = rdb;
|
||||||
else
|
|
||||||
{
|
|
||||||
aux_port->port_flags &= ~PORT_connecting;
|
|
||||||
fb_assert(port->port_async == aux_port);
|
|
||||||
port->port_async = NULL;
|
|
||||||
aux_port->disconnect();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (const Exception& ex)
|
catch (const Exception& ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user