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

@@ -304,6 +304,8 @@ REF_Finalise(void)
update_drift_file(LCL_ReadAbsoluteFrequency(), our_skew);
}
LCL_RemoveParameterChangeHandler(handle_slew, NULL);
Free(fb_drifts);
initialised = 0;