Permalink
Browse files

Stop monitor on unregister

  • Loading branch information...
pron committed Jul 26, 2017
1 parent b67e831 commit fc7b98cdf4f32917648994c2ce44a10460f0f8aa
Showing with 1 addition and 2 deletions.
  1. +1 −2 quasar-actors/src/main/java/co/paralleluniverse/actors/Actor.java
@@ -1033,8 +1033,7 @@ public final Actor unregister() {
if (getName() == null)
throw new IllegalArgumentException("name is null");
ActorRegistry.unregister(this);
if (monitor != null)
this.monitor.setActor(null);
stopMonitor();
this.registered = false;
return this;
}

0 comments on commit fc7b98c

Please sign in to comment.