Fix: Clear tracked application contexts upon closing a Java agent
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 12 Feb 2016 00:37:44 +0000 (19:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Feb 2016 22:54:29 +0000 (17:54 -0500)
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/java/lttng-ust-agent-common/org/lttng/ust/agent/AbstractLttngAgent.java

index 22c58265c0c8429e38fcac90bba73f0a45f03ca3..f8ad187bd99ce5e204a1a8d37dc4fb1fbb289936 100644 (file)
@@ -198,6 +198,8 @@ public abstract class AbstractLttngAgent<T extends ILttngHandler>
                enabledEventPrefixes.clear();
                enabledWildcards.set(0);
 
+               enabledAppContexts.clear();
+
                initialized = false;
        }
 
This page took 0.031144 seconds and 4 git commands to generate.