spa: add destroyed callback on spa_source
It would be nice to have a destroyed
callback on spa_source
similar to spa_hook.removed
.
This would be especially useful for bindings implementation so they can free the callback wrapper which has been created when connecting the source (pw_loop_add_signal()
for example).