Skip to content

Commit

Permalink
crash because of wrong executor being created (#2508)
Browse files Browse the repository at this point in the history
Glide v4.2.x crashes because of wrong executor when using a custom UncaughtExceptionPolicy.
  • Loading branch information
stephanenicolas authored and sjudd committed Oct 24, 2017
1 parent 7da399f commit e6e2aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static GlideExecutor newSourceExecutor() {
*/
public static GlideExecutor newSourceExecutor(
UncaughtThrowableStrategy uncaughtThrowableStrategy) {
return newDiskCacheExecutor(DEFAULT_DISK_CACHE_EXECUTOR_THREADS,
return newSourceExecutor(DEFAULT_DISK_CACHE_EXECUTOR_THREADS,
DEFAULT_DISK_CACHE_EXECUTOR_NAME, uncaughtThrowableStrategy);
}

Expand Down

0 comments on commit e6e2aef

Please sign in to comment.