sched: remove slew handler in finalization
This allows repeated calls of SCH_Initialise() and SCH_Finalise().
This commit is contained in:
parent
26a1ed8bc3
commit
3e537416a9
1 changed files with 2 additions and 0 deletions
2
sched.c
2
sched.c
|
@ -147,6 +147,8 @@ void
|
||||||
SCH_Finalise(void) {
|
SCH_Finalise(void) {
|
||||||
ARR_DestroyInstance(file_handlers);
|
ARR_DestroyInstance(file_handlers);
|
||||||
|
|
||||||
|
LCL_RemoveParameterChangeHandler(handle_slew, NULL);
|
||||||
|
|
||||||
initialised = 0;
|
initialised = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue