NetworkManager/src/settings
Beniamino Galvani 3fb4eed3ef settings: let connections keep NMSettings alive
The NMSettings instance can't be disposed while there is any exported
connection. Ideally we should unexport all connections on NMSettings'
disposal, but for now leak @self on termination when there are
connections alive.

This fixes the following bug on shutdown:

 assertion failed: (c_list_is_empty (&priv->connections_lst_head))
 #0  raise () from target:/lib64/libc.so.6
 #1  abort () from target:/lib64/libc.so.6
 #2  g_assertion_message (domain=0x66cab2 "NetworkManager", file=0x6a5e48 "src/settings/nm-settings.c", line=1929)
 #3  g_assertion_message_expr () at gtestutils.c:2555
 #4  finalize (object=0x1dab170) at src/settings/nm-settings.c:1929
 #5  g_object_unref (_object=0x1dab170) at gobject.c:3340
 #6  dispose (object=0x1de50b0) at src/nm-manager.c:7139
 #7  g_object_unref (_object=0x1de50b0) at gobject.c:3303
 #8  _nm_singleton_instance_destroy () at src/nm-core-utils.c:138
 #9  _dl_fini () from target:/lib64/ld-linux-x86-64.so.2
 #10 __run_exit_handlers () from target:/lib64/libc.so.6
 #11 exit () from target:/lib64/libc.so.6
 #12 main (argc=<optimized out>, argv=<optimized out>) at src/main.c:460

https://bugzilla.redhat.com/show_bug.cgi?id=1579858
2018-06-03 16:46:48 +02:00
..
plugins build: use default NM_BUILD_* defines for tests 2018-05-31 15:59:38 +02:00
nm-agent-manager.c shared: drop duplicate c-list.h header 2018-04-18 15:22:14 +02:00
nm-agent-manager.h core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-secret-agent.c shared: drop duplicate c-list.h header 2018-04-18 15:22:14 +02:00
nm-secret-agent.h core: refactor NMSecretAgentCallId typedef not to be a pointer to struct 2017-11-24 16:24:40 +01:00
nm-settings-connection.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-settings-connection.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-settings-plugin.c settings-plugin: drop all properties 2018-05-31 11:50:02 +02:00
nm-settings-plugin.h settings-plugin: drop all properties 2018-05-31 11:50:02 +02:00
nm-settings.c settings: let connections keep NMSettings alive 2018-06-03 16:46:48 +02:00
nm-settings.h settings: pass in authentication subject to nm_settings_add_connection_dbus() 2018-04-24 10:25:26 +02:00