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

◆ Shutdown()

void Terraria.Social.WeGame.CoreSocialModule.Shutdown ( )
inline

Implements Terraria.Social.ISocialModule.

Definition at line 70 of file CoreSocialModule.cs.

71 {
73 {
74 Application.ApplicationExit += delegate
75 {
76 isRailValid = false;
77 };
78 }
79 else
80 {
81 isRailValid = false;
82 AppDomain.CurrentDomain.ProcessExit += delegate
83 {
84 isRailValid = false;
85 };
86 }
87 _callbackHelper.UnregisterAllCallback();
88 rail_api.RailFinalize();
89 }
static bool IsWindows
Definition Platform.cs:19

References Terraria.Social.WeGame.CoreSocialModule._callbackHelper, Terraria.Social.WeGame.CoreSocialModule.isRailValid, and ReLogic.OS.Platform.IsWindows.