Skip to content

api: fix panic in conn.NewWatcher() #439

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ImeevMA
Copy link

@ImeevMA ImeevMA commented Mar 28, 2025

Before this patch, conn.c was not checked for nil before calling its method. This could cause a panic if the connection was lost or closed.

Closes #438

What has been done? Why? What problem is being solved?

I didn't forget about (remove if it is not applicable):

Related issues: #438

Before this patch, `conn.c` was not checked for `nil` before calling its
method. This could cause a panic if the connection was lost or closed.

Closes #438
@ImeevMA ImeevMA force-pushed the imeevma/gh-438-fix-panic-new-watcher-during-reconnect branch from 3ea3046 to a6a4988 Compare March 28, 2025 15:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic on NewWatcher() during reconnect
1 participant