liaoxin01 commented on code in PR #34485: URL: https://github.com/apache/doris/pull/34485#discussion_r1604526302
########## be/src/runtime/load_stream.cpp: ########## @@ -226,7 +226,9 @@ Status TabletStream::close() { auto wait_func = [this, &mu, &cv] { signal::set_signal_task_id(_load_id); for (auto& token : _flush_tokens) { - token->wait(); + if (token != nullptr) { Review Comment: When is token nullptr? If it is nullptr, an error should be reported? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org