mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 13:38:02 +02:00
endpoint: set core to null after unregistering endpoint and not before
This commit is contained in:
parent
1962a8ca1c
commit
cad748ae91
1 changed files with 1 additions and 1 deletions
|
|
@ -279,8 +279,8 @@ wp_endpoint_unregister (WpEndpoint * self)
|
|||
g_info ("WpEndpoint:%p unregistering '%s' (%s)", self, priv->name,
|
||||
priv->media_class);
|
||||
|
||||
priv->core = NULL;
|
||||
wp_core_remove_global (priv->core, WP_GLOBAL_ENDPOINT, self);
|
||||
priv->core = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue