diff options
author | Darin Wright | 2009-10-13 15:29:35 +0000 |
---|---|---|
committer | Darin Wright | 2009-10-13 15:29:35 +0000 |
commit | 6ea4faa984fed7460e97520bd3127625906d8ce3 (patch) | |
tree | 6d2c92bb24487f39accd2e2165795c45f5cfcc9e | |
parent | 1f373c11e2909cc036558c8ba6824d828299af31 (diff) | |
download | eclipse.platform.debug-6ea4faa984fed7460e97520bd3127625906d8ce3.tar.gz eclipse.platform.debug-6ea4faa984fed7460e97520bd3127625906d8ce3.tar.xz eclipse.platform.debug-6ea4faa984fed7460e97520bd3127625906d8ce3.zip |
Bug 261837 - RuntimeProcess should synchronize access to fTerminated and fExitValue
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java index 4823fe8ae..206e082f8 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/RuntimeProcess.java @@ -144,7 +144,7 @@ public class RuntimeProcess extends PlatformObject implements IProcess { /** * @see ITerminate#canTerminate() */ - public boolean canTerminate() { + public synchronized boolean canTerminate() { return !fTerminated; } |