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
Johan Wikman
parent
49cf4089fc
commit
9a3aae64ce
@ -906,14 +906,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