fix: panic when streaming release if using msgstream (#39375)

issue: #39367
pr: #39374

Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
Zhen Ye 2025-01-17 11:55:03 +08:00 committed by GitHub
parent 56cb1683eb
commit 5330fc981c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,7 +158,9 @@ func (w *walAccesserImpl) Close() {
}
w.producerMutex.Unlock()
w.handlerClient.Close()
if w.handlerClient != nil {
w.handlerClient.Close()
}
w.streamingCoordClient.Close()
}