0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +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:
Luca Boccassi 2023-01-16 00:09:02 +00:00
parent 7e0fdd82de
commit a820627f55

View File

@ -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