forked from upstream-mirrors/OpenTracks
Making TrackDataHub an application singleton (using the application context to ensure we don't leak MyTracks).
This commit is contained in:
@@ -124,7 +124,7 @@ public class TrackDataHubTest extends AndroidTestCase {
|
||||
AndroidMock.replay(dataSources);
|
||||
|
||||
hub.stop();
|
||||
hub.destroy();
|
||||
hub = null;
|
||||
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user