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

use weakref in PROCESS_STACK #201

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Feb 1, 2021

  1. use weakref in PROCESS_STACK

    A weak reference to the process is used in order to avoid that the
    'process stack' context variable itself can keep the process in memory.
    Asynchronous function executions scheduled by asyncio's `call_soon`,
    `call_later` or `call_at` get individual copies of the context, which
    stay in memory as long as the corresponding handler stays in memory
    (even if the execution was cancelled).
    ltalirz committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    266a385 View commit details
    Browse the repository at this point in the history
  2. dereference weakref

    ltalirz committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    bdab86d View commit details
    Browse the repository at this point in the history