Fixing nulls

This commit is contained in:
Brock Whitten 2010-02-16 10:28:07 -08:00
parent 17528c15bb
commit c638fbfa69

View File

@ -66,7 +66,9 @@ public class GeoListener {
// This stops the listener // This stops the listener
void stop() void stop()
{ {
if(mGps != null)
mGps.stop(); mGps.stop();
if(mNetwork != null)
mNetwork.stop(); mNetwork.stop();
} }