diff options
author | Zoltan Varga <vargaz@gmail.com> | 2017-05-09 00:34:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 00:34:06 +0300 |
commit | 9247bb5ce69384b73222877cb0f1ee985726314b (patch) | |
tree | fa67b707a55c67869b32f9dffbcdf3c277c2ae52 /mcs/class/Mono.Debugger.Soft | |
parent | 69689c95e57bd515ba1546eaced5f7b8ca2f9d1c (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.cs | 2 |
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); |