Skip to content

Commit 219eff1

Browse files
authored
Device free issue (AppiumTestDistribution#995)
1 parent c7945dc commit 219eff1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/appium/manager/AppiumParallelMethodTestListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ public void afterInvocation(IInvokedMethod iInvokedMethod, ITestResult iTestResu
159159
}
160160
}
161161
if (iInvokedMethod.isTestMethod()) {
162-
AppiumDriverManager.getDriver().quit();
163162
deviceAllocationManager.freeDevice();
163+
AppiumDriverManager.getDriver().quit();
164164
if (!isCloudExecution()) {
165165
appiumDriverManager.stopAppiumDriver();
166166
}

0 commit comments

Comments
 (0)