There seem to be open subscriptions on transition during page navigation.
Steps to reproduce the behavior
1. Go to dashboard
2. Click on any workflow or error message from the panels to get to the instances list
3. Navigate 1 step back using the browser controls
3. Navigate 1 step forward again
Problem - Current Behavior
There is probably an open subscription which causes an error in the dev console (see stacktrace below).
All subscriptions need to be cleaned up. There shouln't be any errors in the dev console.
Environment and Additional Information
Maybe this is a regression related to https://jira.camunda.com/browse/OPE-905
- OS: Linux
- Browser: Chrome
index.js:1 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
in OperationsPanel (at CollapsablePanelContext.js:89)
in WithCollapsablePanel(OperationsPanel) (at Instances.js:149)
in main (created by Context.Consumer)
in StyledComponent (created by styled.main)
in styled.main (at Instances.js:101)
in InstancesPollProviderComp (at context.js:17)
in WithData (at Instances.js:97)
in Instances (at InstancesContainer.js:469)
in InstancesContainer (at withSharedState.js:34)
in InstancesContainerSharedState (at context.js:17)
in WithData (created by Context.Consumer)