Closed art5255 closed 4 years ago
@art5255 Thank you for the PR. Any idea of how several sequential calls of start()
could happen? I wonder if a test can be written for the case.
I think I fixed a possible case when start()
could be called twice resulting in leaking progressInterval
in https://github.com/mironov/react-redux-loading-bar/commit/832727cde31d4a52e2e6b29fd7a2223912fedd51
I'm going to close this PR for now.
Feel free to rebase and reopen it if the issue still persists in >= v4.5.0
if start called multiple times should clear previous interval to avoid memory leak