-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GlideImagesPlugin bug #259
Comments
Hello @achenglike , is this a confirmed crash or you are just anticipating one? |
Yes, a confirmed crash. AppCompatActivity->Fragment->RecycleView->TextView(use Markwon).Accidental appearance. I just change:
to
|
It seems that calling |
The markwon-image-glide module -> GlideImagesPlugin.java -> public static GlideImagesPlugin create(@nonnull final Context context) : this method use context to create new RequestManager when called method (public void cancel(@nonnull Target<?> target)) case by OnAttachStateChangeListener(in AsyncDrawableScheduler.java) called onViewDetachedFromWindow -> unschedule(@nonnull TextView view).
In this condation maybe the Activity allready destroied before public void cancel(@nonnull Target<?> target) called, and glide will throw exception "You cannot start a load for a destroyed activity"
The text was updated successfully, but these errors were encountered: