1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

unregister the CModelManager to the workspace listener

This commit is contained in:
Alain Magloire 2003-06-19 17:51:36 +00:00
parent e78cfa658a
commit 8a74bc73e9

View file

@ -745,6 +745,8 @@ public class CModelManager implements IResourceChangeListener {
*/
public void shutdown() {
// Do any shutdown of services.
ResourcesPlugin.getWorkspace().removeResourceChangeListener(factory);
BinaryRunner[] runners = (BinaryRunner[])binaryRunners.values().toArray(new BinaryRunner[0]);
for (int i = 0; i < runners.length; i++) {
if (runners[i].isAlive()) {