OSDN Git Service

Fix potential NPE when closing Eclipse/ADT
authorRaphael Moll <ralf@android.com>
Tue, 23 Nov 2010 02:43:43 +0000 (18:43 -0800)
committerRaphael Moll <ralf@android.com>
Tue, 23 Nov 2010 04:47:15 +0000 (20:47 -0800)
commita19e364a559f151ca2985d348384bf0e2ef7768d
treea504877d216a53b22b17715a33a9dea8f1168cce
parent476a6e18ba87159b34fabb8a0bd73abb804c5079
Fix potential NPE when closing Eclipse/ADT

Seems like it was trying to finish a build and closing
the plugin ADT at the same time. How's that even possible?
In any case I've never seen that before and I was in
debug mode, so I bet it's a rare race condition.

SDK Bug 3222178

Change-Id: I28a9bdfcbe56e2a6b73eafb5cadea611c5177f7f
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java