Changes between Initial Version and Version 1 of Ticket #4480, comment 27


Ignore:
Timestamp:
Mar 23, 2017, 5:43:55 PM (7 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4480, comment 27

    initial v1  
    55So we need to flatten dynamic subscriptions after the OnDestroy messages are sent, and then it all works fine.
    66I'm really unsure why this only happens with packing units having an aura tbh, but it does, and this fixes it for me.
     7
     8Edit: 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.