Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28460

How To Fix memory leak in in Reaact Native?

$
0
0

I have a problem with my application that is a memory leak, where when the application that I developed during the debugger hangs.

I have unmounted state and event

Following a warning in debugger mode:

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.
    in PTRViewAndroid (at Home.js:187)

Viewing all articles
Browse latest Browse all 28460

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>