-
Notifications
You must be signed in to change notification settings - Fork 0
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
queue_runner
uses this
after destruction
#13
Comments
Huh, that is a bizarre one. the deconstructor of rcon_client should kill this queue_runner (as connected becomes false so the while should break). If that does fix the issue though, I'll gladly add it! Thank you!! |
I think the UB still persists here. The problem is that |
Hm, that's interesting... Odd why this never came up in testing 🤔 |
ahhhhhh I'm so silly, I understand now. |
I am using your library as follows:
The program crashes with segfault:


I think the problem is that
queue_runner
usesthis
after the rcon_client object is destroyed.With the following changes, segfault no longer occurs:
The text was updated successfully, but these errors were encountered: