mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: test_system does not clean up at exit
Solution: close socket and destroy context to reduce Valgrind noise
This commit is contained in:
parent
18dcc32ac3
commit
e177512c82
@ -97,4 +97,7 @@ int main (void)
|
||||
for (count = 0; count < 1000; count++) {
|
||||
close(handle[count]);
|
||||
}
|
||||
|
||||
zmq_close(dealer);
|
||||
zmq_ctx_term(ctx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user