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:
Thomas Haller 2022-04-07 21:57:32 +02:00
parent de926723f0
commit bd95a5c0ec
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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)