dispose method
释放 Context 及其回调、插件和模块状态;重复调用返回同一 Future。
Implementation
Future<void> dispose() {
final current = _disposeFuture;
if (current != null) return current;
_closed = true;
_owner._detach(this);
return _disposeFuture = _dispose();
}