Description of problem: While using console I see from time to time following messages in the browser console: react-dom.development.js:506 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 the componentWillUnmount method. Version-Release number of selected component (if applicable): 389-ds-base-1.4.1.6-2.module+el8dsrv+3912+aa2ce078.x86_64 How reproducible: non-deterministic Expected results: No memory leaks in the web app Additional info: I'm attaching a log from console that I used for a few tests.
This happens when you click on different components before they are done rendering. So if you click around between tabs really fast you will see these errors. We need better handling of component state and not allow rendering of a new comp until the first one is complete.
Most of these timing issues have been addressed now that we are using react.
Build tested: cockpit-389-ds-1.4.2.12-1.module+el8dsrv+6328+f04d7471.noarch I don't see messages from comment #0 anymore, marking as VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1961