提交 12c0f512 编写于 作者: T Tolriq

Do not try to clear a non existent request

上级 8d7beb50
...@@ -220,8 +220,10 @@ public class RequestFutureTarget<T, R> implements FutureTarget<R>, Runnable { ...@@ -220,8 +220,10 @@ public class RequestFutureTarget<T, R> implements FutureTarget<R>, Runnable {
*/ */
@Override @Override
public void run() { public void run() {
if (request != null) {
request.clear(); request.clear();
} }
}
/** /**
* Can be safely called from either the main thread or a background thread to cleanup the resources used by this * Can be safely called from either the main thread or a background thread to cleanup the resources used by this
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册