mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-04 18:43:07 +02:00
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