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 MassimilianoPinto
parent 2f54f33cfb
commit c8a9eafdc0
2 changed files with 3 additions and 21 deletions

View File

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