diff options
author | Sebastien Lebreton <sebastien@lebreton.fr> | 2018-03-03 03:03:03 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-03-03 03:03:03 +0300 |
commit | e7ba41d14c7e1dc6e860e6e9c5a3db05686d2c5a (patch) | |
tree | 1ef6103affd6b80eb93e218eb3a8f84b8fe6d53a /mcs/class | |
parent | 24c52e28c0b7a86f327a78f7c3c2d3f524d8e1d2 (diff) |
Swap Close/Dispose calls so that the receiver_thread_main loop will be properly interrupted (#7390)
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs | 2 |
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); } |