This release eliminates all threading locks as all non-threadsafe
operations now happen in the event loop.
- Let connection\_lost close the underlying socket (\918) bdraco
The socket was closed during shutdown before asyncio's
connection\_lost handler had a chance to close it which resulted in
a traceback on windows.
Fixed \917
Technically backwards incompatible:
- Removed duplicate unregister\_all\_services code (\910) bdraco
Calling Zeroconf.close from same asyncio event loop zeroconf is
running in will now skip unregister\_all\_services and log a warning
as this a blocking operation and is not async safe and never has
been.
Use AsyncZeroconf instead, or for legacy code call
async\_unregister\_all\_services before Zeroconf.close