diff options
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/util/LoadingTask.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/util/LoadingTask.java b/src/github/daneren2005/dsub/util/LoadingTask.java index 9ab5c86d..7faa6afe 100644 --- a/src/github/daneren2005/dsub/util/LoadingTask.java +++ b/src/github/daneren2005/dsub/util/LoadingTask.java @@ -62,8 +62,12 @@ public abstract class LoadingTask<T> extends BackgroundTask<T> { getHandler().post(new Runnable() {
@Override
public void run() {
- loading.cancel();
- error(t);
+ try {
+ loading.cancel();
+ error(t);
+ } catch(Exception e) {
+ // Don't care
+ }
}
});
}
|