mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 03:45:35 +02:00
unregister the CModelManager to the workspace listener
This commit is contained in:
parent
e78cfa658a
commit
8a74bc73e9
1 changed files with 2 additions and 0 deletions
|
@ -745,6 +745,8 @@ public class CModelManager implements IResourceChangeListener {
|
||||||
*/
|
*/
|
||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
// Do any shutdown of services.
|
// Do any shutdown of services.
|
||||||
|
ResourcesPlugin.getWorkspace().removeResourceChangeListener(factory);
|
||||||
|
|
||||||
BinaryRunner[] runners = (BinaryRunner[])binaryRunners.values().toArray(new BinaryRunner[0]);
|
BinaryRunner[] runners = (BinaryRunner[])binaryRunners.values().toArray(new BinaryRunner[0]);
|
||||||
for (int i = 0; i < runners.length; i++) {
|
for (int i = 0; i < runners.length; i++) {
|
||||||
if (runners[i].isAlive()) {
|
if (runners[i].isAlive()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue