AvahiPoll: don't close the dbus socket
Avoid closing it twice.
This commit is contained in:
@@ -58,6 +58,10 @@ public:
|
||||
Schedule(FromAvahiWatchEvent(_event));
|
||||
}
|
||||
|
||||
~AvahiWatch() {
|
||||
Steal();
|
||||
}
|
||||
|
||||
static void WatchUpdate(AvahiWatch *w, AvahiWatchEvent event) {
|
||||
w->Schedule(FromAvahiWatchEvent(event));
|
||||
}
|
||||
|
Reference in New Issue
Block a user