]> git.meshlink.io Git - catta/blobdiff - avahi-sharp/AvahiTest.cs
update to current avahi-core API
[catta] / avahi-sharp / AvahiTest.cs
index 5def8a1b0c333f5f8e7c8ca8fe1707598383b2cf..a23eee5c50663695489c3a239399c6181cc6b6ad 100644 (file)
@@ -35,8 +35,8 @@ public class AvahiTest {
                eg.AddService ("foobar2", "_daap._tcp", client.DomainName,
                               444, new string[] { "foo", "bar", "baz" });
                eg.Commit ();
-
-               Application.Run ();
+               Console.WriteLine ("Press enter to quit");
+               Console.ReadLine ();
        }
 
        private static void OnEntryGroupChanged (object o, EntryGroupState state)