mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() This fixes the NPE but not the underlying reason for the Qt plugin to be activated. I think that might be happening because of the Codan checker -- from what I recall, that extension point doesn't have a way to prevent plugin activation. The NPE is fixed by checking CACHE for null before using it. The #stop method unregisters and sets CACHE to null. However, unregistering doesn't prevent notifications that are already in flight. I suspect that notification arrives, and then CACHE is null. My test workspace would throw the NPE on every exit, with this change it never does. Change-Id: I01360a4c19c85fba53269d265948daf6d083c8d1 Signed-off-by: Andrew Eidsness <eclipse@jfront.com> Reviewed-on: https://git.eclipse.org/r/28751 Tested-by: Hudson CI Reviewed-by: Doug Schaefer <dschaefer@qnx.com> |
||
---|---|---|
build | ||
codan | ||
core | ||
cross | ||
debug | ||
doc | ||
dsf | ||
dsf-gdb | ||
jtag | ||
launch | ||
llvm | ||
lrparser | ||
memory | ||
p2 | ||
qt | ||
releng | ||
remote | ||
testsrunner | ||
upc | ||
util | ||
visualizer | ||
windows | ||
xlc | ||
.gitignore | ||
pom.xml |