Skip to content

Remove duplicate unregister_all_services code#910

Merged
bdraco merged 1 commit intopython-zeroconf:masterfrom
bdraco:unregister_all_dedupe
Jul 17, 2021
Merged

Remove duplicate unregister_all_services code#910
bdraco merged 1 commit intopython-zeroconf:masterfrom
bdraco:unregister_all_dedupe

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jul 17, 2021

  • Switch to using run_coro_with_timeout from sync context

  • A safe-guard has been added to close to prevent blocking
    the event loop when Zeroconf.close is called from asyncio
    as unregister_all_services is a blocking operation (and
    always has been)

- Switch to using run_coro_with_timeout from sync context

- A safe-guard has been added to close to prevent blocking
  the event loop when Zeroconf.close is called from asyncio
  as unregister_all_services is a blocking operation (and
  always has been)
@bdraco bdraco force-pushed the unregister_all_dedupe branch from b956cb1 to bfc5dc6 Compare July 17, 2021 05:47
@bdraco bdraco merged commit e63ca51 into python-zeroconf:master Jul 17, 2021
@bdraco bdraco deleted the unregister_all_dedupe branch July 17, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant