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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2017-05-09 00:34:06 +0300
committerGitHub <noreply@github.com>2017-05-09 00:34:06 +0300
commit9247bb5ce69384b73222877cb0f1ee985726314b (patch)
treefa67b707a55c67869b32f9dffbcdf3c277c2ae52 /mcs/class/Mono.Debugger.Soft
parent69689c95e57bd515ba1546eaced5f7b8ca2f9d1c (diff)
[sdb] Avoid printing out the ThreadAbortException used to abort the protocol receiver thread. (#4804)
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r--mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs
index e09132e2798..af3e1716ca4 100644
--- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs
+++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs
@@ -1236,6 +1236,8 @@ namespace Mono.Debugger.Soft
bool res = ReceivePacket ();
if (!res)
break;
+ } catch (ThreadAbortException) {
+ break;
} catch (Exception ex) {
if (!closed) {
Console.WriteLine (ex);