Skip to content
  • David Zeuthen's avatar
    GDBus: Unref worker from worker-thread to avoid race · 322e25b5
    David Zeuthen authored
    
    
    ... otherwise we might end up using the worker after it has been
    freed. Reported by Dan Winship and Colin Walters.
    
    This fix uncovered a bug in the /gdbus/nonce-tcp test case so "fix"
    that as well to use a better way of having one thread wait for another
    (using quotes for the word "fix" since it's pretty hackish to
    busy-wait in one thread to wait for another).
    
    Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
    322e25b5