mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
Bug 348573 - Deadlock between BinaryRunner and project model serializing
lock
This commit is contained in:
parent
46980c50e8
commit
97771a4879
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2000, 2009 QNX Software Systems and others.
|
||||
* Copyright (c) 2000, 2011 QNX Software Systems and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -723,6 +723,7 @@ public class CProject extends Openable implements ICProject {
|
|||
@Override
|
||||
protected void closing(Object info) throws CModelException {
|
||||
if (info instanceof CProjectInfo) {
|
||||
CModelManager.getDefault().removeBinaryRunner(this);
|
||||
CProjectInfo pinfo = (CProjectInfo)info;
|
||||
if (pinfo.vBin != null) {
|
||||
pinfo.vBin.close();
|
||||
|
@ -731,7 +732,6 @@ public class CProject extends Openable implements ICProject {
|
|||
pinfo.vLib.close();
|
||||
}
|
||||
pinfo.resetCaches();
|
||||
CModelManager.getDefault().removeBinaryRunner(this);
|
||||
}
|
||||
super.closing(info);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue