コード例 #1
0
        internal void AppDomainExited(ICorDebugAppDomain comAppDomain)
        {
            var appDomain = appDomains.TryGet(comAppDomain);

            if (appDomain == null)
            {
                return;
            }
            appDomain.SetHasExited();
            appDomains.Remove(comAppDomain);
        }
コード例 #2
0
ファイル: DnAppDomain.cs プロジェクト: wagnerhsu/tools-dnSpy
        internal void AssemblyUnloaded(ICorDebugAssembly comAssembly)
        {
            var assembly = assemblies.TryGet(comAssembly);

            if (assembly == null)
            {
                return;
            }
            assembly.SetHasUnloaded();
            assemblies.Remove(comAssembly);
        }
コード例 #3
0
        internal void ModuleUnloaded(ICorDebugModule comModule)
        {
            var module = modules.TryGet(comModule);

            if (module == null)
            {
                return;
            }
            module.SetHasUnloaded();
            modules.Remove(comModule);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
        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);
        }
コード例 #6
0
ファイル: DnAssembly.cs プロジェクト: zz110/dnSpy
 internal void ModuleUnloaded(DnModule module)
 {
     module.SetHasUnloaded();
     modules.Remove(module.CorModule.RawObject);
 }