提交 50fca252 编写于 作者: K kohsuke

it should be volatile, I think

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23531 71c3de6d-444a-0410-be80-ed276b4c234a
上级 51669e42
......@@ -171,7 +171,7 @@ abstract class Request<RSP extends Serializable,EXC extends Throwable> extends C
return new hudson.remoting.Future<RSP>() {
private boolean cancelled;
private volatile boolean cancelled;
public boolean cancel(boolean mayInterruptIfRunning) {
if (cancelled || isDone()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册