mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
dns: register NMDnsPlugin instance as wait-obj for shutdown
nm_shutdown_wait_obj_register_object() today has no practical effect. In the future it will block shutdown until the object gets destroyed. We will want that NMDnsPlugin gets wrapped up during shut down, before quitting.
This commit is contained in:
parent
de926723f0
commit
bd95a5c0ec
1 changed files with 3 additions and 1 deletions
|
|
@ -106,7 +106,9 @@ nm_dns_plugin_stop(NMDnsPlugin *self)
|
|||
|
||||
static void
|
||||
nm_dns_plugin_init(NMDnsPlugin *self)
|
||||
{}
|
||||
{
|
||||
nm_shutdown_wait_obj_register_object(self, "dns-plugin");
|
||||
}
|
||||
|
||||
static void
|
||||
nm_dns_plugin_class_init(NMDnsPluginClass *plugin_class)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue