Permalink
Browse files

EJBCLIENT-28 isDone() should return true after a call to cancel() for…

… async invocations
  • Loading branch information...
jaikiran authored and stuartwdouglas committed Apr 9, 2012
1 parent 02b92be commit 1131985542aa13fa5d28852e9ff3850718fe978b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/jboss/ejb/client/EJBClientInvocationContext.java
@@ -511,10 +511,10 @@ public boolean isDone() {
assert !holdsLock(lock);
synchronized (lock) {
switch (state) {
- case WAITING:
- case CANCEL_REQ: {
+ case WAITING: {
return false;
}
+ case CANCEL_REQ:
case READY:
case FAILED:
case CANCELLED:

0 comments on commit 1131985

Please sign in to comment.