react-native-media-player icon indicating copy to clipboard operation
react-native-media-player copied to clipboard

Prevent NPE on onHostResume

Open firefueled opened this issue 7 years ago • 1 comments

This call to helper.onResume() was causing intermittent NPE's They happened during app initialization but I could not identify the reason; usually after a reload Adding a null check on onHostPause as well, just in case

firefueled avatar Jun 13 '17 21:06 firefueled

If helper is null, it means start() may also do something unexpected. I think we need to track this problem.

jhen0409 avatar Jun 19 '17 01:06 jhen0409