Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Xu2017-06-11 19:26:54 -0400
committerKaloyan Raev2017-06-13 04:39:27 -0400
commit5badac11fd6acad5704eb3cd7bb6486503b241ce (patch)
tree39455ca43e47dce34b5bd11adad8a1b86a568957
parentc621009609e2166d007a6e2e14580edb158bb6ae (diff)
downloadorg.eclipse.pdt-5badac11fd6acad5704eb3cd7bb6486503b241ce.tar.gz
org.eclipse.pdt-5badac11fd6acad5704eb3cd7bb6486503b241ce.tar.xz
org.eclipse.pdt-5badac11fd6acad5704eb3cd7bb6486503b241ce.zip
Bug 518128 - sometimes deadlock after bug 515526 submittedR5_0_0
Change-Id: Icec33ca1dba981e2de2c6d73fbdb5aa9ae19dfa5 Signed-off-by: Alex Xu <ibazzi@qq.com>
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java
index 5eb86460f..b0ee4f311 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java
@@ -3292,7 +3292,7 @@ public class PHPStructuredEditor extends StructuredTextEditor implements IPHPScr
protected IStatus run(IProgressMonitor monitor) {
Program astRoot = null;
try {
- astRoot = SharedASTProvider.getAST((ISourceModule) sourceModule, SharedASTProvider.WAIT_ACTIVE_ONLY,
+ astRoot = SharedASTProvider.getAST((ISourceModule) sourceModule, SharedASTProvider.WAIT_NO,
new NullProgressMonitor());
} catch (ModelException e) {
Logger.logException(e);

Back to the top