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

issue: #39367

Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
Zhen Ye 2025-01-17 11:47:02 +08:00 committed by GitHub
parent c38bca8d80
commit 92bde5b4f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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