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

MessageConnections are not freed when NetworkDialog is open #17

Open
cadaver opened this issue Mar 25, 2014 · 2 comments
Open

MessageConnections are not freed when NetworkDialog is open #17

cadaver opened this issue Mar 25, 2014 · 2 comments

Comments

@cadaver
Copy link
Collaborator

cadaver commented Mar 25, 2014

Due to MessageConnectionTreeItem having a shared ptr to MessageConnection, a connection is never freed even after it closes, when the NetworkDialog is open. In a network client usage, this means leaking connections when performing repeated connection and disconnection.

@Stinkfist0
Copy link
Contributor

The connection leakage in Tundra seemed to disappear after this fix: Adminotech/tundra@1de67f3

@juj
Copy link
Owner

juj commented Apr 1, 2014

By leaking, do you mean actually leaking allocated raw memory pointers? Or leaking network memory sockets after MessageConnections are deleted? Do the MessageConnections properly clean up when all dialogs are closed, i.e. is it just a temporary held-alive reference by the NetworkDialog code, or are you actually seeing that connections stay unclosed indefinitely even after the user closes the dialog?

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

3 participants