Permalink
Browse files

fixed async response bug

  • Loading branch information...
laforge49 committed Jan 22, 2013
1 parent bab2b1c commit 4d7dbda549d5c4e3a0a534793118e56b2e158471
Showing with 5 additions and 2 deletions.
  1. +1 −1 pom.xml
  2. +1 −1 release.xml
  3. +3 −0 src/main/java/org/agilewiki/jactor/lpc/JLPCActor.java
View
@@ -5,7 +5,7 @@
<groupId>org.agilewiki.jactor</groupId>
<artifactId>jactor</artifactId>
- <version>4.6.1.0</version>
+ <version>4.6.2.0</version>
<packaging>jar</packaging>
<name>JActor</name>
<description>Lock-free Java Actors</description>
View
@@ -4,7 +4,7 @@
<groupId>org.agilewiki.jactor</groupId>
<artifactId>jactor</artifactId>
- <version>4.6.1.1-SNAPSHOT</version>
+ <version>4.6.2.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JActor</name>
<description>Lock-free Java Actors</description>
@@ -594,6 +594,9 @@ public AsyncRequest(RequestSource requestSource,
@Override
public void processResponse(Object response) throws Exception {
+ if (!isActive()) {
+ return;
+ }
JARequest old = mailbox.getCurrentRequest();
mailbox.setCurrentRequest(this);
mailbox.response(this, response);

0 comments on commit 4d7dbda

Please sign in to comment.