Kristiyan Kostadinov
5d34657198
fix(ivy): attempting to remove detached view on destroy ( #27585 )
...
Currently the `ViewRef.destroy` method assumes that its index inside the view container will always be valid, however if it has been removed already, it'll be -1 which will throw an error.
The error manifested itself in one of the unit tests where a view had been detached during the test and then `TestBed` attempted to destroy its `ComponentRef` which ended threw an `Error during cleanup of component`.
PR Close #27585
2018-12-14 10:21:23 -08:00
..
2018-12-05 10:41:24 -08:00
2018-10-31 14:15:06 -04:00
2018-12-07 11:53:52 -08:00
2018-08-20 11:08:10 -07:00
2018-11-27 10:30:58 -08:00
2018-12-10 14:20:22 -08:00
2018-11-29 21:26:15 -08:00
2018-09-25 12:51:29 -07:00
2018-12-06 13:35:08 -08:00
2018-12-12 13:04:09 -08:00
2018-10-09 16:46:00 -07:00
2018-11-27 13:42:23 -08:00
2018-11-30 14:03:12 -08:00
2018-08-30 21:22:01 -07:00
2018-12-04 19:58:25 -08:00
2017-12-21 21:40:58 -08:00
2018-08-22 15:58:42 -04:00
2018-12-04 19:58:25 -08:00
2018-12-11 11:27:08 -08:00
2018-11-29 21:26:15 -08:00
2018-08-14 11:58:47 -07:00
2018-11-30 14:03:12 -08:00
2018-10-15 11:20:32 -07:00
2018-12-12 13:04:09 -08:00
2018-10-04 10:11:17 -07:00
2018-11-01 13:44:10 -07:00
2018-11-29 21:26:15 -08:00
2018-10-31 14:15:06 -04:00
2018-10-31 19:52:36 -04:00
2018-10-25 12:58:40 -04:00
2018-11-29 21:26:15 -08:00
2018-08-20 11:08:10 -07:00
2018-05-01 10:27:40 -07:00
2018-12-04 19:59:01 -08:00
2018-10-26 15:49:30 -04:00
2018-11-27 10:16:57 -08:00
2018-10-09 16:46:00 -07:00
2018-06-05 13:33:40 -07:00
2018-11-29 21:26:15 -08:00
2018-12-12 13:04:09 -08:00
2018-08-23 16:51:15 -04:00
2018-11-14 12:28:03 -08:00
2018-07-31 15:09:32 -07:00
2018-11-29 21:26:15 -08:00
2018-12-14 10:21:23 -08:00