We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39bbc4 commit 0caf154Copy full SHA for 0caf154
lib/common/mobile/android/android-emulator-services.ts
@@ -97,10 +97,10 @@ export class AndroidEmulatorServices implements Mobile.IEmulatorPlatformService
97
98
while (hasTimeLeft || isInfiniteWait) {
99
const emulators = (await this.getEmulatorImages()).devices;
100
- emulator = _.find(emulators, e => e.imageIdentifier === emulator.imageIdentifier);
101
- if (emulator && this.$emulatorHelper.isEmulatorRunning(emulator)) {
+ const newEmulator = _.find(emulators, e => e.imageIdentifier === emulator.imageIdentifier);
+ if (newEmulator && this.$emulatorHelper.isEmulatorRunning(newEmulator)) {
102
return {
103
- runningEmulator: emulator,
+ runningEmulator: newEmulator,
104
errors: [],
105
endTimeEpoch
106
};
0 commit comments