feat(core): PlatformRef and ApplicationRef support registration of disposal functions.
These functions will be called whenever the platform or application are being disposed.
This commit is contained in:
@ -98,6 +98,7 @@ var NG_API = [
|
||||
'ApplicationRef.bootstrap()',
|
||||
'ApplicationRef.dispose()',
|
||||
'ApplicationRef.registerBootstrapListener()',
|
||||
'ApplicationRef.registerDisposeListener()',
|
||||
*/
|
||||
'AsyncPipe',
|
||||
'AsyncPipe.onDestroy()',
|
||||
@ -873,6 +874,7 @@ var NG_API = [
|
||||
'PlatformRef.application()',
|
||||
'PlatformRef.asyncApplication()',
|
||||
'PlatformRef.dispose()',
|
||||
'PlatformRef.registerDisposeListener()',
|
||||
*/
|
||||
'PlatformRef.injector',
|
||||
'Predicate:dart',
|
||||
|
Reference in New Issue
Block a user