Changes between Initial Version and Version 1 of Ticket #4480, comment 27
- Timestamp:
- Mar 23, 2017, 5:43:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4480, comment 27
initial v1 5 5 So we need to flatten dynamic subscriptions after the OnDestroy messages are sent, and then it all works fine. 6 6 I'm really unsure why this only happens with packing units having an aura tbh, but it does, and this fixes it for me. 7 8 Edit: I am pretty sure this is the correct fix, but I don't really understand how it ended up crashing semi-randomly, so if someone has an idea. I do think we could create a unit test by having a component dynamically unsubscribe on OnDestroy, but this should be tested.