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

Problem: mlm_mailbox_bounded_test leaves dangling 'PUB' socket #333

Open
BHare1985 opened this issue Mar 27, 2024 · 0 comments
Open

Problem: mlm_mailbox_bounded_test leaves dangling 'PUB' socket #333

BHare1985 opened this issue Mar 27, 2024 · 0 comments

Comments

@BHare1985
Copy link

In the mlm_mailbox_bounded.c under the function mlm_mailbox_bounded_test the following code runs:

    void *logger = zsys_socket (ZMQ_SUB, NULL, 0);
	...
    zsys_close (logger, NULL, 0);

But results in the test warning:

	[18648]dangling 'PUB' socket created at src/zsys.c:2510
	dangling sockets: cannot terminate ZMQ safely

I have narrowed it down to just those two lines. I am not sure if this is a better issue for czmq as thats where zsys_close lives and seems like it is not doing it's job properly. Using czmq 4.2.2

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