Skip to content

fix(mesh): store community_cluster_task on app.state and cancel on shutdown (#4946)#4971

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4946
Apr 17, 2026
Merged

fix(mesh): store community_cluster_task on app.state and cancel on shutdown (#4946)#4971
mrveiss merged 1 commit intoDev_new_guifrom
issue-4946

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 16, 2026

Closes #4946

Summary

  • asyncio.create_task(_loop()) was discarding the task handle — shutdown couldn't cancel a 24h-sleeping loop
  • Task handle now stored as app.state.community_cluster_task
  • cleanup_services() cancels the task and awaits completion for clean shutdown

@mrveiss mrveiss merged commit 5a95631 into Dev_new_gui Apr 17, 2026
1 of 3 checks passed
@mrveiss mrveiss deleted the issue-4946 branch April 17, 2026 06:31
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