Skip to content
Commit 3448fa01 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

GVfsDaemon: Don't deadlock on cliend disconnect

There was a deadlock that could happen on client disconnect in
peer_connection_closed(). If the cancelled job immediately called back into
job_finished_callback() we would deadlock on daemon->mutex.

So, make sure we cancel jobs without holding the lock, just like
handle_cancel() does.

https://bugzilla.gnome.org/show_bug.cgi?id=708816
parent 8d08c558
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment