onPause method

  1. @mustCallSuper
void onPause()

Called when the app is paused (goes to background)

Implementation

@mustCallSuper
void onPause() {
  if (_checkDisposed('onPause')) return;

  // Changed from logDebug to logInfo - important lifecycle event
  ZenLogger.logInfo('Controller $runtimeType paused');
  pauseAllWorkers();
}