Skip to content

Synapse should track Clock.sleep(...) to cancel during shutdown #19190

@MadLittleMods

Description

@MadLittleMods

Currently, we only track Clock.call_later(...) calls but Clock.sleep(...) can equally hold references to the homeserver and need to be cleaned up during shutdown in order for the homeserver to be garbage collected.

Spawning from https://github.com/element-hq/synapse-small-hosts/pull/204#discussion_r2525000337

Follow-up to #18828

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions