xnet.cpp (Firebird-3.0.2.32703-0.tar.bz2) | : | xnet.cpp (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 1500 | skipping to change at line 1500 | |||
if (port->port_state != rem_port::PENDING || !port->port_xcc) | if (port->port_state != rem_port::PENDING || !port->port_xcc) | |||
return; | return; | |||
port->port_state = rem_port::BROKEN; | port->port_state = rem_port::BROKEN; | |||
XCC xcc = port->port_xcc; | XCC xcc = port->port_xcc; | |||
if (!xcc) | if (!xcc) | |||
return; | return; | |||
XPS xps = (XPS) xcc->xcc_mapped_addr; | ||||
if (xps) { | ||||
xps->xps_flags |= XPS_DISCONNECTED; | ||||
} | ||||
if (xcc->xcc_event_send_channel_filled) | if (xcc->xcc_event_send_channel_filled) | |||
{ | { | |||
CloseHandle(xcc->xcc_event_send_channel_filled); | CloseHandle(xcc->xcc_event_send_channel_filled); | |||
xcc->xcc_event_send_channel_filled = 0; | xcc->xcc_event_send_channel_filled = 0; | |||
} | } | |||
if (xcc->xcc_event_send_channel_empted) | if (xcc->xcc_event_send_channel_empted) | |||
{ | { | |||
CloseHandle(xcc->xcc_event_send_channel_empted); | CloseHandle(xcc->xcc_event_send_channel_empted); | |||
xcc->xcc_event_send_channel_empted = 0; | xcc->xcc_event_send_channel_empted = 0; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added |