If I understand correctly, after the first use, the Scheduler creates some kind of object with the settings in the project, is there a way to destroy this object when the component is destroyed? e.g. scheduler.destroy() or schedule.clear()
Support Forum
If you are using wrappers (strongly recommended), destroy
method is called automatically.
See https://bryntum.com/docs/scheduler/#Core/Base#function-destroy in the docs please.
Angular wrapper implements ngOnDestroy
method:
/**
* Destroy the component
*/
ngOnDestroy(): void {
if (this.instance) {
this.instance.destroy();
}
}