예제 #1
0
        public void Dispose()
        {
            r_Ships.Dispose();
            TypeMaps.Clear();
            Types = null;

            if (r_UpdateSubscription != null)
            {
                r_UpdateSubscription.Dispose();
                r_UpdateSubscription = null;
            }

            if (r_HomeportSubscription != null)
            {
                r_HomeportSubscription.Dispose();
                r_HomeportSubscription = null;
            }
        }
 public static void Clean()
 {
     TypeMaps.Clear();
 }