• Max Kellermann's avatar
    output_thread: check again if output is open on CANCEL · 2c908fde
    Max Kellermann authored
    When the player thread unpauses, it sends CANCEL to the output thread,
    after having checked that the output is still open.  Problem is when
    the output thread closes the device before it can process the CANCEL
    command - race condition.  This patch adds another "open" check inside
    the output thread.
    2c908fde
output_thread.c 6.49 KB