Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 781f23f

Browse files
committed
Properly interrupt thread. Closes cucumber#705.
1 parent 858f8bf commit 781f23f

File tree

1 file changed

+1
-0
lines changed
  • examples/android/cukeulator-test/src/cucumber/example/android/cukeulator/test

1 file changed

+1
-0
lines changed

examples/android/cukeulator-test/src/cucumber/example/android/cukeulator/test/Utils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public void run() {
4343
lock.acquire();
4444
} catch (InterruptedException e) {
4545
Log.e("cucumber-android", e.toString());
46+
Thread.currentThread().interrupt();
4647
}
4748
}
4849
}

0 commit comments

Comments
 (0)