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:
Markus Makela
2015-12-09 17:00:28 +02:00
committed by Johan Wikman
parent 49cf4089fc
commit 9a3aae64ce
2 changed files with 3 additions and 21 deletions

View File

@ -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);
}
}
}