diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-30 16:32:18 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-30 16:32:18 +0000 |
commit | 974fbe67d6d62efadd129cc81b9072faf3b2f029 (patch) | |
tree | 82a44cd7c10d447766280047e035928166833348 /pjlib/src/pjlib-test/ioq_udp.c | |
parent | 3cf609b42e573adf8e7183070176a450a7b4959e (diff) |
Fixed race condition bug in ioqueue unregistration for select and Win32 IOCP backend
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@365 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test/ioq_udp.c')
-rw-r--r-- | pjlib/src/pjlib-test/ioq_udp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pjlib/src/pjlib-test/ioq_udp.c b/pjlib/src/pjlib-test/ioq_udp.c index b81764f2..89e2a1e8 100644 --- a/pjlib/src/pjlib-test/ioq_udp.c +++ b/pjlib/src/pjlib-test/ioq_udp.c @@ -457,7 +457,6 @@ static int unregister_test(void) /* Now unregister and close socket. */ pj_ioqueue_unregister(key); - pj_sock_close(rsock); /* Poll ioqueue. */ timeout.sec = 1; timeout.msec = 0; @@ -539,10 +538,6 @@ static int many_handles_test(void) if (rc != PJ_SUCCESS) { app_perror("...error in pj_ioqueue_unregister", rc); } - rc = pj_sock_close(sock[i]); - if (rc != PJ_SUCCESS) { - app_perror("...error in pj_sock_close", rc); - } } rc = pj_ioqueue_destroy(ioqueue); |