[sdb] Avoid printing out the ThreadAbortException used to abort the protocol receiver...
authorZoltan Varga <vargaz@gmail.com>
Mon, 8 May 2017 21:34:06 +0000 (17:34 -0400)
committerGitHub <noreply@github.com>
Mon, 8 May 2017 21:34:06 +0000 (17:34 -0400)
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs

index e09132e27985b8c67eb2f725f4bdb5f120c1b7b9..af3e1716ca42f92e05e6976a0d5dffb9ea8dc5fa 100644 (file)
@@ -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);