clearListeners method

void clearListeners()

This function attempt to remove all handlers from the event.

Implementation

void clearListeners() {
  recurrentEvents.clear();
  singleEvents.clear();
}