diff --git a/src/OpenDebugAD7/AD7DebugSession.cs b/src/OpenDebugAD7/AD7DebugSession.cs index f605ff25c..ca16de40e 100644 --- a/src/OpenDebugAD7/AD7DebugSession.cs +++ b/src/OpenDebugAD7/AD7DebugSession.cs @@ -41,7 +41,7 @@ internal sealed class AD7DebugSession : DebugAdapterBase, IDebugPortNotify2, IDe private readonly DebugEventLogger m_logger; private readonly Dictionary> m_breakpoints; - private readonly List m_gotoCodeContexts = new List(); + private readonly HandleCollection m_gotoCodeContexts = new HandleCollection(); private Dictionary m_functionBreakpoints; private readonly Dictionary m_threadFrameEnumInfos = new Dictionary(); @@ -1258,8 +1258,7 @@ protected override void HandleGotoTargetsRequestAsync(IRequestResponder