manager: cleanup active connections upon exit
authorBeniamino Galvani <bgalvani@redhat.com>
Fri, 22 Jan 2016 14:19:06 +0000 (15:19 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Sat, 23 Jan 2016 09:01:21 +0000 (10:01 +0100)
commite3a6ba6756620b5ed64459141567dd7a760e2c30
treeb294324d8d528d03000c877b9e6d4cc3875ecfe3
parent8cba3e046eb8e3db9ab0bd55bbadc6cb8043096d
manager: cleanup active connections upon exit

When connection sharing is enabled, the removal of iptables rules is
delegated to the NMActRequest destructor; but for this to work it is
required that the object is properly dereferenced upon NM termination.

Clean up the active connections which are in DEACTIVATED state when
quitting, so that they are unexported and destroyed.

https://bugzilla.gnome.org/show_bug.cgi?id=692673
src/nm-manager.c