cleanupGlobalNotificationControllers function

void cleanupGlobalNotificationControllers()

Cleans up global stream controllers (call this when app is terminating)

Implementation

void cleanupGlobalNotificationControllers() {
  if (!_globalNotificationOpenedController.isClosed) {
    _globalNotificationOpenedController.close();
  }
  if (!_globalNotificationActionController.isClosed) {
    _globalNotificationActionController.close();
  }
}