mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-16 17:22:23 +03:00
Fix null reference exception on Exit
This commit is contained in:
parent
c60fef26d4
commit
f6313d3008
@ -75,7 +75,11 @@ public class MainActivity extends SubsonicTabActivity
|
||||
if (getIntent().hasExtra(Constants.INTENT_EXTRA_NAME_EXIT))
|
||||
{
|
||||
setResult(Constants.RESULT_CLOSE_ALL);
|
||||
getDownloadService().stopJukeboxService();
|
||||
|
||||
if (getDownloadService() != null)
|
||||
{
|
||||
getDownloadService().stopJukeboxService();
|
||||
}
|
||||
|
||||
if (getImageLoader() != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user