Skip to content

Commit

Permalink
reverted. redisson#402
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita committed Feb 10, 2016
1 parent eb0a836 commit d79708f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/redisson/command/CommandAsyncService.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,6 @@ public void run(Timeout t) throws Exception {
}
}

if (connectionManager.isShuttingDown()) {
return;
}

if (details.getMainPromise().isCancelled()) {
if (details.getAttemptPromise().cancel(false)) {
AsyncDetails.release(details);
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/redisson/command/CommandBatchService.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ public void run(Timeout timeout) throws Exception {
}
}

if (connectionManager.isShuttingDown()) {
return;
}

if (mainPromise.isCancelled()) {
attemptPromise.cancel(false);
return;
Expand Down

0 comments on commit d79708f

Please sign in to comment.