public void AllClientsFullGC(bool enable) { System.GC.Collect(); var pkg = new S2C_FullGC.ArgumentData(); pkg.Enable = enable; if (ProfilerConnect != null) { S2C_FullGC.Instance.DoCall( ref pkg, NetCore.ERouteTarget.Self, ProfilerConnect, null); } }
public void OnS2C_S2C_FullGC(byte userFlags, ref S2C_FullGC.ArgumentData cmd, UInt16 serialId, NetCore.NetConnection connect, ref NetCore.RPCRouter.RouteData routeInfo) { System.GC.Collect(); }