From bd121fc9b9f6bdcd7074e4fb15b195ce0e491b5c Mon Sep 17 00:00:00 2001 From: James Willcox Date: Sun, 7 May 2006 18:51:06 +0000 Subject: add a missing lock, and make the event processing thread non-background. fixes some crashes with Dispose() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1215 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-sharp/AvahiTest.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'avahi-sharp/AvahiTest.cs') diff --git a/avahi-sharp/AvahiTest.cs b/avahi-sharp/AvahiTest.cs index fcec737..ba4d59b 100644 --- a/avahi-sharp/AvahiTest.cs +++ b/avahi-sharp/AvahiTest.cs @@ -42,6 +42,7 @@ public class AvahiTest { BrowseServiceTypes ("local"); Console.WriteLine ("Press enter to quit"); Console.ReadLine (); + client.Dispose (); } private static void OnEntryGroupChanged (object o, EntryGroupStateArgs args) -- cgit