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; } }
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; } }