internal void AppDomainExited(ICorDebugAppDomain comAppDomain) { var appDomain = appDomains.TryGet(comAppDomain); if (appDomain == null) { return; } appDomain.SetHasExited(); appDomains.Remove(comAppDomain); }
internal void AssemblyUnloaded(ICorDebugAssembly comAssembly) { var assembly = assemblies.TryGet(comAssembly); if (assembly == null) { return; } assembly.SetHasUnloaded(); assemblies.Remove(comAssembly); }
internal void ModuleUnloaded(ICorDebugModule comModule) { var module = modules.TryGet(comModule); if (module == null) { return; } module.SetHasUnloaded(); modules.Remove(comModule); }
internal void ThreadExited(ICorDebugThread comThread) { var thread = threads.TryGet(comThread); // Sometimes we don't get a CreateThread message if (thread == null) { return; } thread.SetHasExited(); threads.Remove(comThread); }
internal DnThread?ThreadExited(ICorDebugThread?comThread) { var thread = threads.TryGet(comThread); // Sometimes we don't get a CreateThread message if (thread is not null) { thread.SetHasExited(); threads.Remove(comThread); } return(thread); }
internal void ModuleUnloaded(DnModule module) { module.SetHasUnloaded(); modules.Remove(module.CorModule.RawObject); }