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

Ensure thread is still active when closing a curl socket #1335

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

Conversation

kannibalox
Copy link
Contributor

This seems like a reasonable check since there's no guarantee that the torrent::manager will be non-NULL as long as this ordering is preserved:

torrent::cleanup();
delete m_httpStack;

On the other hand, I can only reproduce the issue with IPv6 trackers (on a non-IPv6 enabled network), and there's the possibility of finding a more general IPv6 fix elsewhere.

Fixes #1302

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

Successfully merging this pull request may close these issues.

Segfault while exiting rtorrent with an active download
1 participant