EventBase::gotExit — Checks if the event loop was told to exit
Checks if the event loop was told to exit by EventBase::exit() .
This function has no parameters.
Returns true
, event loop was told to exit by
EventBase::exit()
. Otherwise false
.