From fae0f46b582e3708a1067c1876e3e66060477d74 Mon Sep 17 00:00:00 2001 From: jkerdreux-imt <jerome.kerdreux@imt-atlantique.fr> Date: Sat, 21 Dec 2024 12:48:29 +0100 Subject: [PATCH] Fix the on_stop callback --- scripts/msg_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/msg_stats.py b/scripts/msg_stats.py index 79732151..b8c6c97f 100644 --- a/scripts/msg_stats.py +++ b/scripts/msg_stats.py @@ -110,7 +110,7 @@ def run(): eng.subscribe(count) eng.on_start(on_start) - eng.on_start(on_start) + eng.on_stop(on_stop) eng.run() -- GitLab