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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user