jbagg / QtZeroConf

Qt wrapper class for ZeroConf libraries across various platforms.
Other
69 stars 51 forks source link

only create one avahi server instance #23

Closed mzanetti closed 6 years ago

mzanetti commented 6 years ago

On platforms which create their own avahi server (e.g. Android) the previous code would assert as there can only be one server instantiated but creating multiple QtZeroConf objects tried to create multiple servers.

jbagg commented 6 years ago

I also added a reference count to handle the server free.