UoC-Radio/audio-scheduler

fix cleanup in main in case of errors

Closed this issue · 0 comments

Currently we un-initialize all objects on failure in main(), even though they may not be initialized yet.
Some of them do not handle this and segfault.