From: Jérémie Galarneau Date: Mon, 3 Aug 2015 20:45:00 +0000 (-0400) Subject: Fix: Don't send agent disable event command twice X-Git-Tag: v2.8.0-rc1~525 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=f1bc01296844846c89e13f34376461f57387d999;hp=f1bc01296844846c89e13f34376461f57387d999;p=lttng-tools.git Fix: Don't send agent disable event command twice The session daemon sends a "disable event" command to agents for each event, enabled or not, on session destroy. This had no adverse effect of the Java agent since it suffered from an unrelated bug which ignored any refcount decrementation. This fix bumps the command version to "1" to indicate that this behavior is fixed on the session daemon's end. Fixes #884 Signed-off-by: Jérémie Galarneau ---