Skip to content

Commit e6e2aef

Browse files
stephanenicolassjudd
authored andcommitted
crash because of wrong executor being created (#2508)
Glide v4.2.x crashes because of wrong executor when using a custom UncaughtExceptionPolicy.
1 parent 7da399f commit e6e2aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/bumptech/glide/load/engine/executor/GlideExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public static GlideExecutor newSourceExecutor() {
140140
*/
141141
public static GlideExecutor newSourceExecutor(
142142
UncaughtThrowableStrategy uncaughtThrowableStrategy) {
143-
return newDiskCacheExecutor(DEFAULT_DISK_CACHE_EXECUTOR_THREADS,
143+
return newSourceExecutor(DEFAULT_DISK_CACHE_EXECUTOR_THREADS,
144144
DEFAULT_DISK_CACHE_EXECUTOR_NAME, uncaughtThrowableStrategy);
145145
}
146146

0 commit comments

Comments
 (0)