local: don't remove handlers in finalization

Require all handlers to be deregistered by their users before the local
finalization.
This commit is contained in:
Miroslav Lichvar
2020-05-21 11:47:38 +02:00
parent bf92314dc4
commit 5f6f265f80
7 changed files with 20 additions and 7 deletions

View File

@@ -272,6 +272,10 @@ void SMT_Initialise(void)
void SMT_Finalise(void)
{
if (!enabled)
return;
LCL_RemoveParameterChangeHandler(handle_slew, NULL);
}
int SMT_IsEnabled(void)