summaryrefslogtreecommitdiff
path: root/drivers/alsa/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-01-22 01:45:06 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-01-22 14:08:16 +0100
commit41f59ecfca6ddea1eb7b023aaea75e80e3c30c5c (patch)
tree716d27c5f2df28ed505e2ed43036ed745c4c42cc /drivers/alsa/SCsub
parent5127afa812f80c02e6f9fada854d46482daafca4 (diff)
Make sure we know when deleting an emitting object
We used a lock signals in the signal_map while emitting, because it was not allowed to disconnect them while being emitted. We used that lock to check if we where deleting an object during signal emission. Now that we allow to disconnect signals while they are being emitted, if an object first disconnects, then gets deleted we can't know that a signal was being emitted during the destructor. This commit adds a new `_emitting` boolean member to Object to be set while emitting and checked in the destructor, while removing the old signal lock which is now unused.
Diffstat (limited to 'drivers/alsa/SCsub')
0 files changed, 0 insertions, 0 deletions