Events fired by coronata are currently handled directly, on the same thread and without try/catches. This makes it very susceptible to errors. In particular, ButtonHandlerThread should keep running if buttonPressed or Released throws an exception.
Maybe EventsMediator should handle the exceptions.
Events fired by coronata are currently handled directly, on the same thread and without try/catches. This makes it very susceptible to errors. In particular, ButtonHandlerThread should keep running if buttonPressed or Released throws an exception.
Maybe EventsMediator should handle the exceptions.