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

Should there be an early return after io_srv is assigned? #496

Open
johnwstanford opened this issue Sep 30, 2021 · 0 comments
Open

Should there be an early return after io_srv is assigned? #496

johnwstanford opened this issue Sep 30, 2021 · 0 comments

Comments

@johnwstanford
Copy link

It looks like in io_service_mgr, you're trying to re-use an existing IO service if available, but then you assign a new value to io_srv in the switch statement starting at line 534. Did you mean to have an early return after you found an existing one to re-use?

io_srv = it->second.io_srv;

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

1 participant