From cf1f63652732fd2f9b8dd1a376990c364e26d88b Mon Sep 17 00:00:00 2001 From: Itai Bohadana Date: Tue, 2 Sep 2025 13:14:48 +0300 Subject: [PATCH] fix(params_getter): try to bind even if socket exists --- neotest_python/params_getter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neotest_python/params_getter.py b/neotest_python/params_getter.py index 8f0ba13..1f21eab 100644 --- a/neotest_python/params_getter.py +++ b/neotest_python/params_getter.py @@ -136,7 +136,7 @@ async def serve_socket(): if python_socket_path.exists(): print(python_socket_path) - return + atexit.register(lambda: _close_socket(python_socket_path)) signal.signal(signal.SIGTERM, lambda x, _: _close_socket(python_socket_path))