notifyStopped method
void
notifyStopped()
Signals the ApplicationStopped event and blocks until it completes.
Implementation
void notifyStopped() {
try {
_executeHandlers(_stoppedSource);
} on Exception catch (ex) {
_logger.applicationError(
LoggerEventIds.applicationStoppedException,
'An error occurred stopping the application',
ex,
);
}
}