Skip to content

Commit

Permalink
Issue #9344 - performance optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Jul 22, 2020
1 parent c47a54f commit d69a134
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public boolean check(final boolean verbose, final OCommandOutputListener listene

private void checkIfThreadIsBlocked() {
final Thread thread = Thread.currentThread();
if (blockedThreads.contains(thread)) {
if (!blockedThreads.isEmpty() && blockedThreads.contains(thread)) {
thread.interrupt();

throw new OStorageException(
Expand Down

0 comments on commit d69a134

Please sign in to comment.