tmf : Make waitForInitialization() return a boolean
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / views / callstack / CallStackView.java
index 05e9fcfb8645fb3d1ad2a71ef61a591a54771eca..cbf738f5931b23d0933224c33a41871b2ad2ae03 100644 (file)
@@ -935,7 +935,10 @@ public class CallStackView extends AbstractTimeGraphView {
         AbstractCallStackAnalysis module = it.next();
         /* This analysis is not automatic, we need to schedule it on-demand */
         module.schedule();
-        module.waitForInitialization();
+        if (!module.waitForInitialization()) {
+            /* The initialization did not succeed */
+            return null;
+        }
         return module;
     }
 
This page took 0.024729 seconds and 5 git commands to generate.