0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-15 10:18:01 +08:00

Merge pull request #78 from ianbarber/master

Backport of test_last_endpoint shutdown fix, resolves LIBZMQ-462
This commit is contained in:
Pieter Hintjens 2013-02-11 10:21:30 -08:00
commit 4f1f68f6cc

View File

@ -49,6 +49,12 @@ int main (void)
do_bind_and_verify (sb, "tcp://127.0.0.1:5561");
do_bind_and_verify (sb, "ipc:///tmp/testep");
return 0 ;
int rc = zmq_close (sb);
assert (rc == 0);
rc = zmq_term (ctx);
assert (rc == 0);
return 0;
}