aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Protocol
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Protocol')
-rw-r--r--lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp b/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
index 33bdd5e..390cf3e 100644
--- a/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
+++ b/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
@@ -144,6 +144,7 @@ llvm::Error ProtocolServerMCP::Stop() {
m_server.reset(nullptr);
m_server_info_handle.Remove();
+ m_listener.reset();
return llvm::Error::success();
}