onDelete method

  1. @mustCallSuper
  2. @nonVirtual
void onDelete()

Called when the controller is removed from memory.

Implementation

@mustCallSuper
@nonVirtual
void onDelete() {
  if (_isClosed) {
    return;
  }
  _isClosed = true;
  onClose();
}