summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRHenigan <heniganr1@gmail.com>2020-06-24 10:42:09 -0400
committerRHenigan <heniganr1@gmail.com>2020-06-24 10:42:09 -0400
commite7d01dee8ec9117756819d0d00c3f15029d33445 (patch)
tree8b4660e2fe2f6a480c1da7a92c9472202f9c3bc1
parentf712f3df19bed19a0944c985df7f0863152cc2f6 (diff)
downloadsdl_android-bugfix/issue_1372.tar.gz
Properly dispose of sdlManager in onDestroybugfix/issue_1372
-rw-r--r--hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java b/hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java
index d4611e8b3..328527e8c 100644
--- a/hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java
+++ b/hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java
@@ -130,6 +130,7 @@ public class SdlService {
SdlService.this.sdlManager = null;
if(SdlService.this.callback != null){
SdlService.this.callback.onEnd();
+ stop();
}
}