Beispiel #1
0
 public static void Release(Packet p)
 {
     if (p != null)
     {
         p.Release();
     }
 }
Beispiel #2
0
        public static void Release(ref Packet p)
        {
            if (p != null)
            {
                p.Release();
            }

            p = null;
        }
Beispiel #3
0
		public static void Release( Packet p ) {
			if( p != null )
				p.Release();
		}
Beispiel #4
0
		public static void Release( ref Packet p ) {
			if( p != null )
				p.Release();

			p = null;
		}