react-native-blasted-image icon indicating copy to clipboard operation
react-native-blasted-image copied to clipboard

[Android]crash with You cannot start a load for a destroyed activity

Open boboxiaodd opened this issue 1 year ago • 0 comments

App in background, some times crash with this:

java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity
	at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed(RequestManagerRetriever.java:366)

https://github.com/xerdnu/react-native-blasted-image/blob/ff9d739e1a0500095394a8d82cb3f1973d395d94/android/src/main/java/com/reactlibrary/BlastedViewManager.java#L37

maybe check view.getContext() != null

boboxiaodd avatar Mar 07 '24 08:03 boboxiaodd