Changeset 2557


Ignore:
Timestamp:
Mar 27, 2009 3:36:18 PM (16 years ago)
Author:
nanang
Message:

Ticket #771 (auddev-misc): Fixed handle leak in WMME, handle of thread quit event never got closed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/wmme_dev.c

    r2556 r2557  
    12571257    stream_stop(strm); 
    12581258 
     1259    /* Stop the stream thread */ 
    12591260    if (stream->thread) 
    12601261    { 
     
    12631264        pj_thread_destroy(stream->thread); 
    12641265        stream->thread = NULL; 
     1266    } 
     1267 
     1268    /* Close the thread quit event */ 
     1269    if (stream->thread_quit_event) 
     1270    { 
     1271        CloseHandle(stream->thread_quit_event); 
     1272        stream->thread_quit_event = NULL; 
    12651273    } 
    12661274 
Note: See TracChangeset for help on using the changeset viewer.