summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 13:41:36 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-01-03 21:34:49 +0100
commit5f6e77357567bfba2046bd9fd4b8a2d3ad009d87 (patch)
treeed56fa0ea78c4a682acb2874492687cfe7220eb1 /tests/testutils.py
parent19ff51ae75914c2226888ac1a3ffecdc590d0ec7 (diff)
downloadpsycopg2-5f6e77357567bfba2046bd9fd4b8a2d3ad009d87.tar.gz
Broken circular reference in async execution
If a connection is destroyed before an async operation is completed, the `async_cursor` member creates a reference loop, leaving the connection and the cursor alive. `async_cursor` is now a weak reference.
Diffstat (limited to 'tests/testutils.py')
0 files changed, 0 insertions, 0 deletions