diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-09-22 07:45:26 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-09-22 07:45:26 +0000 |
commit | a15ddb0c409317ffdfd4c6b764398719a4d222e2 (patch) | |
tree | ab1af1c16e3af983166541df52865b455b00598f /pjlib/src/pj/os_core_win32.c | |
parent | 5af236a408105e4a2e4e47f4271afab7c137c31b (diff) |
Fixed #1132: Assertion when (re)starting PJLIB on different thread
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3314 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/os_core_win32.c')
-rw-r--r-- | pjlib/src/pj/os_core_win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/src/pj/os_core_win32.c b/pjlib/src/pj/os_core_win32.c index 26190179..15ece797 100644 --- a/pjlib/src/pj/os_core_win32.c +++ b/pjlib/src/pj/os_core_win32.c @@ -246,6 +246,9 @@ PJ_DEF(void) pj_shutdown() /* Clear static variables */ pj_errno_clear_handlers(); + /* Ticket #1132: Assertion when (re)starting PJLIB on different thread */ + pj_bzero(main_thread, sizeof(main_thread)); + /* Shutdown Winsock */ WSACleanup(); } |