MCPcopy Index your code
hub / github.com/angular/angular / _dispose

Method _dispose

packages/common/src/pipes/async_pipe.ts:226–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224 }
225
226 private _dispose(): void {
227 // Note: `dispose` is only called if a subscription has been initialized before, indicating
228 // that `this._strategy` is also available.
229 this._strategy!.dispose(this._subscription!);
230 this._latestValue = null;
231 this._subscription = null;
232 this._obj = null;
233 }
234
235 private _updateLatestValue(async: any, value: Object): void {
236 if (async === this._obj) {

Callers 2

ngOnDestroyMethod · 0.95
transformMethod · 0.95

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected