Skip to content

Trio warning when exiting the application #262

@vxgmichel

Description

@vxgmichel

Hi @altendky,

When exiting our qtrio application (which runs with qtrio.run), we sometimes get the following warning:

.../python3.8/site-packages/trio/_core/_run.py:2221: RuntimeWarning: Trio guest run got abandoned without properly finishing... weird stuff might happen

The comment here says something about garbage collection:

https://github.com/python-trio/trio/blob/3f4e1a23e567825926b225f87c64db56d95f96fb/trio/_core/_run.py#L2247-L2253

Do you have some ideas about what could cause this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions