# HG changeset patch # User timkelly # Date 1283528080 18000 # Node ID f0e22d4f58635e6806f23b0d9565a36ee0bac605 # Parent edab7c4d5f9f470021d26d375ed641192a2e5b36 wait until after SDK scan job is complete before notifiying plugings that the SDKManager load is complete. diff -r edab7c4d5f9f -r f0e22d4f5863 core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java --- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java Thu Sep 02 15:49:09 2010 -0500 +++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/AbstractSDKManager.java Fri Sep 03 10:34:40 2010 -0500 @@ -113,11 +113,14 @@ public void aboutToRun(IJobChangeEvent event) {} public void done(IJobChangeEvent event) { fireInstalledSdkChanged(SDKChangeEventType.eSDKScanned); + // Notify any plugins that want to know if the SDKManager has scanned plugins. + if (!sdkHookExtenstionsNotified) { + notifySDKManagerLoaded(); + sdkHookExtenstionsNotified = true; + } } }; - - public AbstractSDKManager() { macroStore = SymbianMacroStore.getInstance(); scanJob = new Job ("Scan for installed SDKs") { @@ -186,11 +189,6 @@ updateCarbideSDKCache(); - // Notify any plugins that want to know if the SDKManager has scanned plugins. - if (!sdkHookExtenstionsNotified) { - notifySDKManagerLoaded(); - sdkHookExtenstionsNotified = true; - } if (monitor.isCanceled()) { return Status.CANCEL_STATUS; } @@ -231,6 +229,7 @@ if (sdkList.size() < 1) { ensureScannedSDKs(); } + List listCopy = new ArrayList(sdkList); return listCopy; }