Skip to content
  • Rémi Denis-Courmont's avatar
    picture_pool: fix cancellation handling with lock · 362984de
    Rémi Denis-Courmont authored
    If there is a deprecated lock callback, the mutex might be released
    and the cancellation flag much be rechecked.
    
    Conversely, if the pool is empty, then there is no point in checking
    the flag: allocation will anyway fail immediately.
    362984de