Skip to content

Commit

Permalink
Make sure Lua cleans up old references in refcounting test.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed May 29, 2024
1 parent c10e400 commit e97ee19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lupa/tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def trigger_gc(ref):
assert_no_deadlock,
threading.Thread(target=trigger_gc, args=[ref]),
)
lua.gccollect()

self._run_gc_test(delete_table_reference_in_thread)

Expand Down

0 comments on commit e97ee19

Please sign in to comment.