Skip to content

Commit 169a658

Browse files
committed
Apply suggestion from code rabbit
Signed-off-by: Iman Tabrizian <[email protected]>
1 parent 99273c6 commit 169a658

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp/tensorrt_llm/batch_manager/dataTransceiver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ class DataResponder::Impl
230230
{
231231
std::unique_lock lk(mCondMutex);
232232
mResponderCv.wait(lk, [this]() { return (mAnyReady || mTerminate); });
233+
if (mTerminate)
234+
{
235+
break;
236+
}
233237
it = getCurrentResponse();
234238
}
235239
sendResponse(blockHashes, it);

0 commit comments

Comments
 (0)