Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Question about channel life cycle #103

Open
hankai17 opened this issue Aug 13, 2022 · 1 comment
Open

Question about channel life cycle #103

hankai17 opened this issue Aug 13, 2022 · 1 comment

Comments

@hankai17
Copy link

ch->handleRead();

delete ch;

It seem's in channel's Callback delete channel.

@yedf2
Copy link
Owner

yedf2 commented Aug 14, 2022

Yes, if the data stream in the tcp connection has finished, then the channel should be closed and deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants