Skip to content

Commit b3f8f07

Browse files
committed
don't free dlls in managed SOS host
1 parent 1ec231f commit b3f8f07

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/SOS/SOS.Hosting/RuntimeWrapper.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -156,21 +156,6 @@ protected override void Destroy()
156156
ComWrapper.ReleaseWithCheck(_cdacDataProcess);
157157
_cdacDataProcess = IntPtr.Zero;
158158
}
159-
if (_dacHandle != IntPtr.Zero)
160-
{
161-
DataTarget.PlatformFunctions.FreeLibrary(_dacHandle);
162-
_dacHandle = IntPtr.Zero;
163-
}
164-
if (_cdacHandle != IntPtr.Zero)
165-
{
166-
DataTarget.PlatformFunctions.FreeLibrary(_cdacHandle);
167-
_cdacHandle = IntPtr.Zero;
168-
}
169-
if (_dbiHandle != IntPtr.Zero)
170-
{
171-
DataTarget.PlatformFunctions.FreeLibrary(_dbiHandle);
172-
_dbiHandle = IntPtr.Zero;
173-
}
174159
}
175160

176161
#region IRuntime (native)

0 commit comments

Comments
 (0)