terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Stop()

void Telepathy.Server.Stop ( )
inline

Definition at line 96 of file Server.cs.

97 {
98 Thread thread = this.listenerThread;
99 if (thread != null)
100 {
101 bool isAlive = thread.IsAlive;
102 if (!true)
103 {
104 }
106 if (tcpListener != null)
107 {
109 }
111 if (thread2 != null)
112 {
114 }
115 if (!true)
116 {
117 }
118 Thread.Sleep(10);
120 if (tcpListener2 != null)
121 {
123 }
124 }
125 this.Cleanup();
126 }
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207
void Cleanup()
Definition Server.cs:90
Thread listenerThread
Definition Server.cs:179
TcpListener listener
Definition Server.cs:176

References Telepathy.Server.Cleanup(), System.Threading.Thread.Interrupt(), System.Threading.Thread.IsAlive, j__TPar, Telepathy.Server.listener, Telepathy.Server.listenerThread, System.Threading.Thread.Sleep(), and System.Net.Sockets.TcpListener.Stop().

Referenced by SaveSynchronisationHost.Close(), and SaveSynchronisationManager.Shutdown().