Skip to content

Commit

Permalink
Merge pull request #844 from snyderra/master
Browse files Browse the repository at this point in the history
Was causing undefined class error
  • Loading branch information
belaban authored Oct 12, 2024
2 parents fcb8ce7 + f81a235 commit 28f81e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/jgroups/stack/GossipRouter.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ public void stop() {
return;

try {
JmxConfigurator.unregister(this, Util.getMBeanServer(), "jgroups:name=GossipRouter");
if(jmx)
JmxConfigurator.unregister(this, Util.getMBeanServer(), "jgroups:name=GossipRouter");
}
catch(Exception ex) {
log.error(Util.getMessage("MBeanDeRegistrationFailed"), ex);
Expand Down

0 comments on commit 28f81e5

Please sign in to comment.