From 73043d666780e35185a77589e01bec96a52db910 Mon Sep 17 00:00:00 2001 From: Kevin Witlox Date: Thu, 25 Jan 2024 14:16:22 +0100 Subject: [PATCH] fix(strategies/dap): stop function (#350) --- lua/neotest/client/strategies/dap/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/neotest/client/strategies/dap/init.lua b/lua/neotest/client/strategies/dap/init.lua index 17443be..264347c 100644 --- a/lua/neotest/client/strategies/dap/init.lua +++ b/lua/neotest/client/strategies/dap/init.lua @@ -103,6 +103,9 @@ return function(spec, context) attach = function() dap.repl.open() end, + stop = function() + dap.terminate() + end, result = function() finish_future:wait() return result_code