structMarkDisposed method

  1. @nonVirtual
void structMarkDisposed()

Marks this instance as disposed and clears op.

Called internally after the native resource is unloaded. Accessing getOp after disposal will throw.

Implementation

@nonVirtual
void structMarkDisposed() {
  $state.isDisposed = true;
  op = null;
}