From a6391521d3317a762fe5271080f98c99ae7dd2eb Mon Sep 17 00:00:00 2001 From: emotion3459 <176516814+emotion3459@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:47:16 -0500 Subject: [PATCH] Fix memory leak with VS R66+ --- vsengine/_hospice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsengine/_hospice.py b/vsengine/_hospice.py index 7131c2a..f890575 100644 --- a/vsengine/_hospice.py +++ b/vsengine/_hospice.py @@ -63,7 +63,7 @@ def unfreeze(): def _is_core_still_used(ident: int) -> bool: - return sys.getrefcount(cores[ident]) > 2 + return sys.getrefcount(cores[ident]) > 3 def _add_tostage1(ident: int) -> None: