mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 03:58:05 +02:00
core: close the configuration file after loading all components
All components are supposed to read the configuration file during initialization. After that, the file is not needed anymore.
This commit is contained in:
parent
6321ff9f62
commit
9c3aa5409e
1 changed files with 5 additions and 0 deletions
|
|
@ -503,6 +503,11 @@ on_components_loaded (WpCore * self, GAsyncResult *res,
|
|||
return;
|
||||
}
|
||||
|
||||
if (self->conf) {
|
||||
wp_info_object (self, "done loading components, closing conf file...");
|
||||
wp_conf_close (self->conf);
|
||||
}
|
||||
|
||||
wp_object_update_features (WP_OBJECT (self), WP_CORE_FEATURE_COMPONENTS, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue