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:
authorSebastien Lebreton <sebastien@lebreton.fr>2018-03-03 03:03:03 +0300
committerLudovic Henry <luhenry@microsoft.com>2018-03-03 03:03:03 +0300
commite7ba41d14c7e1dc6e860e6e9c5a3db05686d2c5a (patch)
tree1ef6103affd6b80eb93e218eb3a8f84b8fe6d53a /mcs/class/Mono.Debugger.Soft
parent24c52e28c0b7a86f327a78f7c3c2d3f524d8e1d2 (diff)
Swap Close/Dispose calls so that the receiver_thread_main loop will be properly interrupted (#7390)
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r--mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
index 9d60855a31a..69ecdf68881 100644
--- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
+++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
@@ -136,8 +136,8 @@ namespace Mono.Debugger.Soft
}
public void Detach () {
- conn.VM_Dispose ();
conn.Close ();
+ conn.VM_Dispose ();
notify_vm_event (EventType.VMDisconnect, SuspendPolicy.None, 0, 0, null, 0);
}