Commit 2d2a181
authored
Fix: incorrect cleanup of the stats alarm handler (#1198)
The current implementation may miss some of the
registered statistics callbacks alarms causing
segfault.
The stats thread can run the statystics after
stats_thread stopping
MTL: stat_thread, stop
MTL: * * M T D E V S T A T E * *
MTL: * * E N D S T A T E * *
Use the generic handler deregistration
that ensures all registered callbacks are cleaned
up properly.1 parent f3a7ff0 commit 2d2a181
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments