Skip to content
Commit 942f1d88 authored by Derek Foreman's avatar Derek Foreman Committed by Daniel Stone
Browse files

client: Refactor wl_proxy_destroy critical section



Split wl_proxy_destroy into two pieces, wl_proxy_destroy_unlocked which
performs the critical section code with no locking, and wl_proxy_destroy
which locks before calling that.

We'll use the new unlocked variant later in code that already holds the
lock.

There is a slight functional change - an aborting check is now called
with the lock held. This should be harmless as wl_abort() performs
no locking.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 6ebe3cfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment