diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-02 17:36:26 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-02 17:36:26 -0300 |
commit | cefc5c0e6cd0c5de49aa6bb748266d575fa4d728 (patch) | |
tree | c7cfd773b4f43c57b2828a910c5ee5dc49ea7c23 /kamon-core/src/main/scala/kamon/instrumentation | |
parent | a6741bbf57eb8c9088190778d6cb6da89f895925 (diff) | |
download | Kamon-cefc5c0e6cd0c5de49aa6bb748266d575fa4d728.tar.gz Kamon-cefc5c0e6cd0c5de49aa6bb748266d575fa4d728.tar.bz2 Kamon-cefc5c0e6cd0c5de49aa6bb748266d575fa4d728.zip |
= core: cleanup actor metrics recorder after the actor is stopped, closes #69
Diffstat (limited to 'kamon-core/src/main/scala/kamon/instrumentation')
-rw-r--r-- | kamon-core/src/main/scala/kamon/instrumentation/akka/ActorCellInstrumentation.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/instrumentation/akka/ActorCellInstrumentation.scala b/kamon-core/src/main/scala/kamon/instrumentation/akka/ActorCellInstrumentation.scala index 5fce4555..446bc487 100644 --- a/kamon-core/src/main/scala/kamon/instrumentation/akka/ActorCellInstrumentation.scala +++ b/kamon-core/src/main/scala/kamon/instrumentation/akka/ActorCellInstrumentation.scala @@ -82,7 +82,6 @@ class ActorCellInstrumentation { val cellWithMetrics = cell.asInstanceOf[ActorCellMetrics] cellWithMetrics.actorMetricsRecorder.map { p ⇒ - cellWithMetrics.mailboxSizeCollectorCancellable.cancel() Kamon(Metrics)(cell.system).unregister(cellWithMetrics.metricIdentity) } } @@ -103,7 +102,6 @@ class ActorCellInstrumentation { trait ActorCellMetrics { var metricIdentity: ActorMetrics = _ var actorMetricsRecorder: Option[ActorMetricsRecorder] = _ - var mailboxSizeCollectorCancellable: Cancellable = _ } @Aspect |