Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit tasks cancel #383

Merged
merged 23 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
308a1e0
Eliminated _call_on_close, which was growing without a control
Lurker00 Nov 4, 2024
1cbf4bc
Different cancellation order
Lurker00 Nov 5, 2024
c0332aa
Clear the task on return
Lurker00 Nov 5, 2024
59f4f8e
Typo in the comment
Lurker00 Nov 5, 2024
a54664e
Clear after use
Lurker00 Nov 5, 2024
b3563b0
Useless parameter
Lurker00 Nov 5, 2024
742b0bb
Interruptable sleep
Lurker00 Nov 5, 2024
24a4b15
Stop the previous _shutdown_entities and start a new one.
Lurker00 Nov 6, 2024
845b82f
Force debug logging of sleep cancel event
Lurker00 Nov 6, 2024
018f372
Comment
Lurker00 Nov 6, 2024
5092a9d
Fix mistaken edit
Lurker00 Nov 6, 2024
3122839
Calling _shutdown_entities() in close() is not required.
Lurker00 Nov 12, 2024
260eaee
Early interrupt of _connect_subdevices
Lurker00 Nov 13, 2024
9f5e2ec
Group cancel of async tasks
Lurker00 Nov 13, 2024
a317328
Close detached sub-devices and faster close of sub-devices
Lurker00 Nov 13, 2024
fcecc02
_sleep() actually is not required (anymore?)
Lurker00 Nov 18, 2024
709b105
Don't remove sub-devices from its gateway's container
Lurker00 Nov 19, 2024
141047c
Don't rely on disconnect(): _unsub_refresh in close()
Lurker00 Nov 19, 2024
cd5098a
Don't count "absent" events as "offline" events
Lurker00 Nov 19, 2024
08ec9e1
try block around _async_reconnect loop body
Lurker00 Nov 19, 2024
1f4bb08
try block in _shutdown_entities
Lurker00 Nov 19, 2024
107ec1a
More on cancel handling in _make_connection
Lurker00 Nov 19, 2024
5e3f5ba
cleans up and missed expection
xZetsubou Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading