Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mikkrg@microsoft.com>2022-06-29 10:59:52 +0300
committerMike Krüger <mikkrg@microsoft.com>2022-06-29 11:00:52 +0300
commit48456112a64f2fff01ba0f889d7b7a5bab0773d3 (patch)
tree06af71ad4b6321b7aec796e2c22a7a7cf3b500c2
parentb6b4ecc77d988fefb2ce5a5bc3cb4115632bfc9a (diff)
Fixed build.
Using was missing.
-rw-r--r--Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs b/Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs
index 64b14b2..5364c2b 100644
--- a/Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs
+++ b/Mono.Debugging/Mono.Debugging.Client/BreakpointStore.cs
@@ -34,6 +34,7 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.InteropServices;
using System.Collections.Immutable;
+using System.Collections.Concurrent;
namespace Mono.Debugging.Client
{
@@ -513,7 +514,8 @@ namespace Mono.Debugging.Client
Marshal.FreeHGlobal(buffer);
return;
}
- s_bufferStack.Push(buffer);
+ if (buffer != IntPtr.Zero)
+ s_bufferStack.Push(buffer);
}
}