mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 07:48:01 +02:00
pipewire-obj-mixin: guard against proxy being destroyed while syncing to core
This commit is contained in:
parent
57d60c383c
commit
a2921d78db
1 changed files with 3 additions and 2 deletions
|
|
@ -647,8 +647,9 @@ wp_pw_object_mixin_cache_params (WpObject * object, WpObjectFeatures missing)
|
|||
|
||||
g_object_set_qdata (G_OBJECT (object),
|
||||
activated_features_quark (), GUINT_TO_POINTER (activated));
|
||||
wp_core_sync (core, NULL,
|
||||
(GAsyncReadyCallback) param_cache_features_enabled, object);
|
||||
wp_core_sync_closure (core, NULL, g_cclosure_new_object (
|
||||
G_CALLBACK (param_cache_features_enabled),
|
||||
G_OBJECT (object)));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue