mirror of https://github.com/grpc/grpc.git
Python 3 exceptions include a `__traceback__` attribute that includes refs to all local variables. Saving the exception results in leaking references to the, among other things, the Cython grpc_call wrapper and prevents garbage collection and release of core resources, even after the server is shutdown. See https://www.python.org/dev/peps/pep-3134/#open-issue-garbage-collectionpull/17899/head
parent
7da0aacef2
commit
c5255e9a5e
2 changed files with 30 additions and 5 deletions
Loading…
Reference in new issue