Skip to content

Commit

Permalink
Clear document ReadTransaction at exit (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored Dec 26, 2023
1 parent cc2f2db commit 25a8ade
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pycrdt/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ def __exit__(
exc_val: BaseException | None,
exc_tb: TracebackType | None,
) -> None:
pass
self._txn = None
self._doc._txn = None

0 comments on commit 25a8ade

Please sign in to comment.