Replaced explicit closeSession calls with dcb_close
The closeSession entry point shouldn't be called directly and dcb_close should be used instead.
This commit is contained in:
committed by
MassimilianoPinto
parent
2f54f33cfb
commit
c8a9eafdc0
@ -897,14 +897,6 @@ ROUTER_SLAVE *slave = (ROUTER_SLAVE *)router_session;
|
||||
|
||||
/* Unlock */
|
||||
rses_end_locked_router_action(slave);
|
||||
|
||||
/**
|
||||
* Close the slave server connection
|
||||
*/
|
||||
if (slave->dcb != NULL) {
|
||||
CHK_DCB(slave->dcb);
|
||||
dcb_close(slave->dcb);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user