Changeset 3314 for pjproject


Ignore:
Timestamp:
Sep 22, 2010 7:45:26 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1132: Assertion when (re)starting PJLIB on different thread

Location:
pjproject/trunk/pjlib/src/pj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_core_unix.c

    r3180 r3314  
    214214        thread_tls_id = -1; 
    215215    } 
     216 
     217    /* Ticket #1132: Assertion when (re)starting PJLIB on different thread */ 
     218    pj_bzero(&main_thread, sizeof(main_thread)); 
    216219#endif 
    217220 
  • pjproject/trunk/pjlib/src/pj/os_core_win32.c

    r3023 r3314  
    247247    pj_errno_clear_handlers(); 
    248248 
     249    /* Ticket #1132: Assertion when (re)starting PJLIB on different thread */ 
     250    pj_bzero(main_thread, sizeof(main_thread)); 
     251 
    249252    /* Shutdown Winsock */ 
    250253    WSACleanup(); 
Note: See TracChangeset for help on using the changeset viewer.