internal static void OnAppDomainShutdown(HostUnloadEventArgs e) { if (AppDomainShutdown != null) { AppDomainShutdown(_theRuntime, e); } }
private void OnAppDomainShutdown(object sender, HostUnloadEventArgs args) { //_hostManager.OnAppDomainShutdown(args.Reason); ThreadPool.QueueUserWorkItem(_onAppDomainShutdown, args.Reason); }