mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 06:41:03 +08:00
Problem: test_zmq_ppoll_signals does not cleanup context
Solution: do it, to avoid false positive in valgrind
This commit is contained in:
parent
7e0fdd82de
commit
a820627f55
@ -112,6 +112,7 @@ void test_ppoll_signals ()
|
||||
|
||||
// finish
|
||||
test_context_socket_close (socket);
|
||||
teardown_test_context ();
|
||||
|
||||
// wait for child
|
||||
int status = 0;
|
||||
@ -176,6 +177,7 @@ void test_ppoll_signals ()
|
||||
// wait before closing socket, so that parent has time to receive
|
||||
sleep (1);
|
||||
test_context_socket_close (socket);
|
||||
teardown_test_context ();
|
||||
_Exit (0);
|
||||
}
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user