Skip to content

Commit f5e3087

Browse files
committed
命令出错时,剔除队列
1 parent 6944d25 commit f5e3087

File tree

1 file changed

+1
-1
lines changed
  • AndroidExecLibrary/src/main/java/com/excellence/exec

1 file changed

+1
-1
lines changed

AndroidExecLibrary/src/main/java/com/excellence/exec/Command.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void onError(Throwable t) {
120120
if (listener != null) {
121121
listener.onError(t);
122122
}
123-
schedule();
123+
remove(CommandTask.this);
124124
}
125125

126126
@Override

0 commit comments

Comments
 (0)