Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnProcessExit()

static void System.Runtime.Loader.AssemblyLoadContext.OnProcessExit ( )
inlinestaticpackageinherited

Definition at line 542 of file AssemblyLoadContext.cs.

543 {
545 if (dictionary == null)
546 {
547 return;
548 }
550 {
552 {
553 if (item.Value.TryGetTarget(out var target))
554 {
555 target.RaiseUnloadEvent();
556 }
557 }
558 }
559 }
static volatile Dictionary< long, WeakReference< AssemblyLoadContext > > s_allContexts

References System.dictionary, System.item, and System.Runtime.Loader.AssemblyLoadContext.s_allContexts.

Referenced by System.AppContext.OnProcessExit().