This function is called if SDL user decides to handle notifications in its own
event loop. Calling this function after start_event_listener raises an exception.
This function is called if SDL user decides to handle notifications in its own
event loop. Calling this function after start_event_listener raises an exception.