Commit a846a4c6 authored by Max Kellermann's avatar Max Kellermann

AvahiPoll: don't close the dbus socket

Avoid closing it twice.
parent 899c2bb9
......@@ -58,6 +58,10 @@ public:
Schedule(FromAvahiWatchEvent(_event));
}
~AvahiWatch() {
Steal();
}
static void WatchUpdate(AvahiWatch *w, AvahiWatchEvent event) {
w->Schedule(FromAvahiWatchEvent(event));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment