Remove redundant call function _wait_in_flight_packet() (#3399)

The function `_wait_in_flight_packet` has been called in `_send_cur_batch`.
No need to call twice.
This commit is contained in:
WingC
2020-04-27 07:45:25 -05:00
committed by GitHub
parent 9a934ec9f6
commit 0430714ca9

View File

@ -155,7 +155,6 @@ Status NodeChannel::close(RuntimeState* state) {
}
Status NodeChannel::_close(RuntimeState* state) {
RETURN_IF_ERROR(_wait_in_flight_packet());
return _send_cur_batch(true);
}