faameunier / tk-chrome

Tabby (aka project tabkiller) is a Chrome extension that aims at automatically deleting all your useless tabs.
https://www.tabby.us/
0 stars 0 forks source link

[Front-end] Can't perform a React state update on an unmounted component #27

Closed faameunier closed 4 years ago

faameunier commented 4 years ago

Pas réussi a trouver comment le produire mais ça arrive souvent

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 %s.%s the componentWillUnmount method in Settings (created by Context.Consumer) in WithSnackbar(Settings) (created by WithStyles(WithSnackbar(Settings))) in WithStyles(WithSnackbar(Settings)) (created by HomeDispatcher)

MerlinLaffitte commented 4 years ago

Ok je m'en charge !

MerlinLaffitte commented 4 years ago

To be improved for later with react hooks. For now it's saved by PR #39