You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a memory leak when using an observer, this appears to be caused by mixinLifecycleEvents not patching componentWillUnmount resulting in the reaction never being disposed.
After adding patch(target, 'componentWillUnmount'); the memory leak went away.
Is there any reason it was omitted, or can it be added in?
The text was updated successfully, but these errors were encountered:
There is a memory leak when using an
observer
, this appears to be caused bymixinLifecycleEvents
not patchingcomponentWillUnmount
resulting in the reaction never being disposed.After adding
patch(target, 'componentWillUnmount');
the memory leak went away.Is there any reason it was omitted, or can it be added in?
The text was updated successfully, but these errors were encountered: