Beispiel #1
0
        public void EnsureStarted(out bool firstStart)
        {
            firstStart = false;
            if (instance != null)
            {
                return;
            }

            lock (ThisLock)
            {
                if (instance != null)
                {
                    return;
                }

                instance   = new AppInstance(this.appKey);
                firstStart = true;
            }
        }
Beispiel #2
0
        public void EnsureStarted(out bool firstStart)
        {
            firstStart = false;
            if (instance != null)
                return;

            lock (ThisLock)
            {
                if (instance != null)
                {
                    return;
                }

                instance = new AppInstance(this.appKey);
                firstStart = true;
            }
        }