Ignore:
Timestamp:
Apr 25, 2012 7:13:05 AM (10 years ago)
Author:
ming
Message:

Re #1446 (misc): Fix possible crash if video ports are destroyed in the wrong order (i.e. client port must be destroyed last).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/vid_port_test.c

    r4049 r4084  
    149149 
    150150    if (capture) 
     151        pjmedia_vid_port_stop(capture); 
     152    if (renderer) 
     153        pjmedia_vid_port_stop(renderer); 
     154    if (capture) 
    151155        pjmedia_vid_port_destroy(capture); 
    152156    if (renderer) { 
Note: See TracChangeset for help on using the changeset viewer.