提交 c3fcd9dc 编写于 作者: M Mathieu Bastian

Make layouts cancellable using LongTask

上级 f156fe15
......@@ -198,7 +198,10 @@ public class LayoutControllerImpl implements LayoutController {
@Override
public boolean cancel() {
stopRun = true;
return true;
if (layout instanceof LongTask) {
return ((LongTask) layout).cancel();
}
return false;
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册