angular-cn/packages
Alex Rickabaugh fc034270ce fix(core): call ngOnDestroy on all services that have it (#23755)
Previously, ngOnDestroy was only called on services which were statically
determined to have ngOnDestroy methods. In some cases, such as with services
instantiated via factory functions, it's not statically known that the service
has an ngOnDestroy method.

This commit changes the runtime to look for ngOnDestroy when instantiating
all DI tokens, and to call the method if it's present.

Fixes #22466
Fixes #22240
Fixes #14818

PR Close #23755
2018-05-08 13:55:29 -07:00
..
animations Revert "style(animations): fix short param names (#23668)" 2018-05-05 08:36:49 -07:00
bazel build: serve ivy todo app with real http-server (#23446) 2018-04-25 15:51:18 -07:00
benchpress build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
common build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
compiler feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
compiler-cli fix(compiler-cli): don't rely on incompatible TS method (#23550) 2018-04-25 19:00:55 -07:00
core fix(core): call ngOnDestroy on all services that have it (#23755) 2018-05-08 13:55:29 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
examples fix(common): titlecase pipe (#22600) 2018-03-23 13:42:51 -04:00
forms build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
http build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
language-service refactor(language-service): fix typo on type.ts language-service 2018-04-13 00:06:26 -07:00
platform-browser feat(platform-browser): add token marking which the type of animation module nearest in the injector tree (#23075) 2018-04-12 23:17:38 -07:00
platform-browser-dynamic docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
platform-server Revert "refactor(core): tree-shake application_module providers (#23477)" 2018-04-26 14:08:13 -07:00
platform-webworker refactor: ensure all 'TODO's are consistent (#23252) 2018-04-13 13:11:01 -07:00
platform-webworker-dynamic docs: remove all deprecated `@stable` jsdoc tags (#23210) 2018-04-10 21:49:32 -07:00
router build: update to rxjs@6.0.0 (#23679) 2018-05-03 10:53:39 -07:00
service-worker fix(service-worker): add badge to NOTIFICATION_OPTION_NAMES (#23241) 2018-04-15 23:23:37 -07:00
upgrade Revert "refactor(core): tree-shake application_module providers (#23477)" 2018-04-26 14:08:13 -07:00
BUILD.bazel feat(bazel): introduce a binary stamping feature (#22176) 2018-02-15 14:08:53 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
goog.d.ts fix(compiler): add typings for `COMPILED`. 2017-09-29 09:26:38 -07:00
license-banner.txt docs(common): update copyright years (#21232) 2018-01-04 17:45:36 -05:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build: enable importHelpers in tsconfig (#22812) 2018-03-15 21:16:03 -07:00
tsconfig-metadata.json refactor(compiler): bump metadata version to 4 (#19338) 2017-09-26 13:31:59 -07:00
tsconfig.json feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
types.d.ts perf(ivy): add performance counters in ngDevMode (#23385) 2018-05-01 10:27:40 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT