appium-uiautomator2-driver 3.7.2 → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/driver.ts CHANGED
@@ -910,7 +910,6 @@ class AndroidUiautomator2Driver
910
910
  this.log.warn(`Cannot restore the original IME: ${e.message}`);
911
911
  }
912
912
  }
913
- await this.adb.stopLogcat();
914
913
  try {
915
914
  await this.releaseSystemPort();
916
915
  } catch (error) {
@@ -413,7 +413,10 @@ class UiAutomator2Server {
413
413
  }
414
414
 
415
415
  try {
416
- await this.adb.forceStop(SERVER_TEST_PACKAGE_ID);
416
+ await B.all([
417
+ this.adb.forceStop(SERVER_PACKAGE_ID),
418
+ this.adb.forceStop(SERVER_TEST_PACKAGE_ID)
419
+ ]);
417
420
  } catch (ignore) {}
418
421
  if (strictCleanup) {
419
422
  // https://github.com/appium/appium/issues/10749