Esempio n. 1
0
        private static void ResetDefaultAppCPtr()
        {
            FirebaseApp.ThrowIfCheckDependenciesRunning();
            object obj = FirebaseApp.nameToProxy;

            lock (obj)
            {
                AppUtil.InitializePlayServicesInternal();
                FirebaseApp.PreventOnAllAppsDestroyed = true;
                FirebaseApp defaultInstance = FirebaseApp.DefaultInstance;
                defaultInstance.RemoveReference();
                defaultInstance.swigCPtr = new HandleRef(defaultInstance, AppUtilPINVOKE.FirebaseApp_CreateInternal__SWIG_0());
                defaultInstance.AddReference();
                FirebaseApp.PreventOnAllAppsDestroyed = false;
                AppUtil.TerminatePlayServicesInternal();
            }
        }