wireplumber/modules
Julian Bouzas a824ae910f m-lua-scripting: only hold a strong reference of the Lua state when the script is enabled
Scripts are always deactivated (and not finalized) before core disconnects, so
we need to make sure the scripts don't hold a strong reference when creating
them. They must only hold a strong reference of the Lua state if activated.

In order to implement this properly, the lua_State has been wrapped into a
GObject so that the 'lua-engine' construct-only property is a weak reference of
the Lua state. Then, when the script is activated, a strong reference of the Lua
state is held so the script can work. This strong reference is later dropped
when the script is deactivated (right before the core is disconnected), avoiding
leaked proxy warning messages in the log if a script has a global variable
holding a proxy (Eg the alsa monitor in alsa.lua).
2026-06-01 07:37:02 -04:00
..
module-lua-scripting m-lua-scripting: only hold a strong reference of the Lua state when the script is enabled 2026-06-01 07:37:02 -04:00
module-reserve-device m-reserve-device: cancel get proxy callback properly 2024-11-01 20:46:54 +02:00
dbus-connection-state.h dbus: refactor WpDBus into a plugin called dbus-connection 2023-06-20 12:39:29 +03:00
flatpak-utils.h m-mpris: add MPRIS plugin 2025-07-23 10:19:44 +03:00
meson.build modules: Add notifications-api module 2025-10-01 18:04:58 +03:00
module-dbus-connection.c m-dbus-connection: Add 'plugin.name' and 'bus.system' args 2025-08-29 18:02:59 +03:00
module-default-nodes-api.c metadata: remove wp_metadata_iterator_item_extract() API 2024-02-28 08:15:17 -05:00
module-file-monitor-api.c core: change the component arguments to be WpSpaJson instead of GVariant 2023-05-25 18:29:58 +03:00
module-log-settings.c log: rename back to wp_log_set_level 2024-01-13 16:33:05 +00:00
module-logind.c Improve monitoring of seat state 2024-05-08 13:58:16 +00:00
module-mixer-api.c m-mixer-api: Fix memory in leak wp_mixer_api_set_volume 2024-09-26 14:12:18 +02:00
module-modem-manager.c m-modem-manager: Unref WpCore 2025-12-16 15:59:07 +02:00
module-mpris.c m-mpris: Check variant type directly 2025-12-23 20:05:09 +02:00
module-notifications-api.c modules: Add notifications-api module 2025-10-01 18:04:58 +03:00
module-portal-permissionstore.c portal-permissionstore: Add 3s timeout to D-Bus calls and fix Set create parameter 2026-04-22 19:39:05 +08:00
module-settings.c m-settings: remove all persistent settings if key is null 2024-03-23 09:39:45 +00:00
module-si-audio-adapter.c m-si-audio-adapter: don't overread the position array 2025-10-21 16:31:00 +02:00
module-si-node.c si-linkables: do not fully reset when the underlying proxy is destroyed 2024-03-12 12:44:32 +02:00
module-si-standard-link.c m-si-standard-link: log error message when link activation fails 2025-10-17 08:41:48 -04:00
module-standard-event-source.c m-standard-event-source: Add 'autoswitch-*' local event priority 2026-03-19 20:25:38 +02:00