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:
authorThays Grazia <thaystg@gmail.com>2019-06-06 17:12:47 +0300
committerGitHub <noreply@github.com>2019-06-06 17:12:47 +0300
commit2da77073731dc88cfef40ed5a838e53896eca7d1 (patch)
tree63f33555444b2d6dde386d5004b9e25e7e0a76e8 /mcs/class/Mono.Debugger.Soft
parent2e4b6b34ac1ac51a10410067af9761fff09a11b6 (diff)
[Mono.Debugger.Soft] Properly close connections
This PR fixes #7377
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 f3819c2c50b..0bd77256a17 100644
--- a/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
+++ b/mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
@@ -150,8 +150,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);
}