• Max Kellermann's avatar
    player: fix race condition during tag update · 1bfa6a94
    Max Kellermann authored
    When a tag is updated, the old tag was freed before the new one was
    created.  Reverse the order to be sure that other threads always see a
    valid pointer.
    
    This still leaves a possible race condition, but it will be addressed
    later.
    1bfa6a94
player_thread.c 12.4 KB