[Olsr-dev] [PATCH v1 2/2] main: ensure all timers are stopped in shutdown
Ferry Huberts
(spam-protected)
Mon Feb 29 15:24:00 CET 2016
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main.c b/src/main.c
index 381ff6f..93c5c9b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -247,6 +247,9 @@ static void olsr_shutdown(int signo __attribute__ ((unused)))
#endif /* __linux__ */
}
+ /* stop and cleanup any remaining timers */
+ olsr_flush_timers();
+
/* Closing plug-ins */
olsr_close_plugins();
--
2.5.0
More information about the Olsr-dev
mailing list