gsocketlistener: Don’t explicitly close sockets on finalisation
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 23 Jun 2014 14:01:28 +0000 (15:01 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 23 Jun 2014 15:53:38 +0000 (16:53 +0100)
commitf1095de46f5f43edf494ea6adcabbe86685baadf
tree00833b74d284877fa93f55c7f356afb9ee2b8913
parent00e733315de2c2588b0b5b95e02fcd29bb259cb1
gsocketlistener: Don’t explicitly close sockets on finalisation

Instead of closing the sockets explicitly, let them close themselves
when their final reference is dropped. This makes use of
g_socket_listener_add_socket() more natural.

https://bugzilla.gnome.org/show_bug.cgi?id=732107
gio/gsocketlistener.c