mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +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++) {
|
for (count = 0; count < 1000; count++) {
|
||||||
close(handle[count]);
|
close(handle[count]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zmq_close(dealer);
|
||||||
|
zmq_ctx_term(ctx);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user