Skip to content
Snippets Groups Projects
Commit cad748ae authored by Julian Bouzas's avatar Julian Bouzas
Browse files

endpoint: set core to null after unregistering endpoint and not before

parent 1962a8ca
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
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