Samuel Susla and Facebook GitHub Bot
e6931caca4
Don't retain State in StateWrapperImpl
...
Summary:
Changelog: [internal]
StateWrapperImpl shouldn't retain State strongly because cleanup of `StateWrapperImpl` is triggered from Java and isn't guaranteed to take happen before runtime is destroyed.
This should resolve crash where `StateWrapperImpl`'s destruction causes a `~Pointer` to be called after runtime is destroyed.
Chain of ownership that will be broken by storing State weakly inside `StateWrapperImpl`.
`StateWrapperImpl -> ParagraphState -> TextLayourManager's cache -> AttributedString -> ShadowView -> EventEmitter -> EventTarget -> Pointer`
{F451105831}
Reviewed By: JoshuaGross
Differential Revision: D26815275
fbshipit-source-id: 0703c6dccc62c1d152923b786a83273fa8a03694
2021-03-04 13:14:39 -08:00
..
2021-02-26 23:29:59 -08:00
2021-02-24 12:29:00 -08:00
2021-01-07 13:42:24 -08:00
2021-01-04 04:12:30 -08:00
2021-02-26 23:29:59 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-02-19 20:52:52 -08:00
2021-02-19 20:52:52 -08:00
2021-02-19 20:52:52 -08:00
2021-01-28 11:21:21 -08:00
2021-01-28 11:21:21 -08:00
2021-01-10 19:46:40 -08:00
2021-02-22 05:53:24 -08:00
2021-02-22 05:53:24 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-01-04 04:12:30 -08:00
2021-01-04 04:12:30 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-01-07 13:42:24 -08:00
2021-01-07 13:42:24 -08:00
2021-02-19 20:52:52 -08:00
2020-09-18 17:07:29 -07:00
2020-12-23 04:45:54 -08:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2021-01-09 22:11:00 -08:00
2020-10-15 10:47:11 -07:00
2021-01-09 22:11:00 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-07-31 13:34:29 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2021-02-18 14:31:57 -08:00
2021-01-09 22:11:00 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2021-02-26 23:29:59 -08:00
2021-02-26 23:29:59 -08:00
2021-02-22 05:53:24 -08:00
2021-02-22 17:02:19 -08:00
2021-02-19 20:52:52 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2021-01-16 15:53:55 -08:00
2020-08-01 13:31:03 -07:00
2021-03-04 13:14:39 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00
2020-12-23 21:49:44 -08:00
2021-01-07 13:42:24 -08:00
2020-08-01 13:31:03 -07:00
2020-08-01 13:31:03 -07:00