shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.25k stars 326 forks source link

Crash in iPhone 6 due to memory leak #262

Closed Rejsal closed 4 years ago

Rejsal commented 4 years ago

Current Behavior

It works okay in iphone x, But crashing in iphone 6. It works Okay when load only trimmer or Video player. Found crash when added both.

Expected Behavior

Your Environment

software version
react-native-video-processing ^1.20.0
react-native ^0.59.3
node v10.11.0
shahen94 commented 4 years ago

Please, copy/paste error, call stack and fill the form before submitting an issue. thanks

Rejsal commented 4 years ago

App crashes when loading the trimmer view. This is printed in IOS during crash. "CHANGED: Removing Observer, that can be a cause of memory leak".

Note: I can load only trimmer without video player.