You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve BackgroundService destructor to avoid unnecessary cancel calls
Previously, BackgroundService.__del__() would always call cancel() regardless
of whether the service was still running. This caused missleading
messages suggesting services weren't properly stopped.
Services should always be explicitly stopped before deletion,
so destructor now only calls cancel() if the service is still running.
The error log can help identify and clean up such cases.
Signed-off-by: Elzbieta Kotulska <[email protected]>
0 commit comments