Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move setting q2Thread to null to avoid NPE on shutdown

  • Loading branch information...
commit 528d75a8ea356c7c462e6f59d87808b4cb3f3853 1 parent 7ef2527
@marksalter marksalter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/q2/src/org/jpos/q2/Q2.java
View
2  modules/q2/src/org/jpos/q2/Q2.java
@@ -188,13 +188,13 @@ public Object run() {
relax ();
}
}
- q2Thread = null;
undeploy ();
try {
server.unregisterMBean (loaderName);
} catch (InstanceNotFoundException e) {
log.error (e);
}
+ q2Thread = null;
if (exit && !shuttingDown)
System.exit (0);
}
Please sign in to comment.
Something went wrong with that request. Please try again.