From 11f10b4f455e1f41ecbbb6c72ef6e3f6735acac2 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 28 Jun 2024 18:01:56 +0300 Subject: [PATCH] Revert "lib: core: set the export core to be shared to pipewire modules" This reverts commit 8012fbd5cf9dddbf1696626bca91b85abb70fa75. There seems to be some underlying bug that sometimes causes a crash when the Bluetooth monitor uses a loopback for autoswitching between profiles. Reverting temporarily until the cause is fully determined. See #682 --- lib/wp/core.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/wp/core.c b/lib/wp/core.c index ff2c1613..167b891a 100644 --- a/lib/wp/core.c +++ b/lib/wp/core.c @@ -886,13 +886,6 @@ wp_core_connect (WpCore *self) /* Add the registry listener */ wp_registry_attach (&self->registry, self->pw_core); - /* Set the export core to be the one shared between pipewire modules */ - if (pw_properties_get_bool (pw_core_get_properties (self->pw_core), - "wireplumber.export-core", false)) { - wp_debug_object (self, "set export core to be shared in pipewire modules"); - pw_context_set_object (self->pw_context, PW_TYPE_INTERFACE_Core, self->pw_core); - } - return TRUE; }