Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity com.mapzen.erasermap.controller.MainActivity has leaked ServiceConnection #566

Open
ecgreb opened this issue May 16, 2016 · 0 comments
Labels

Comments

@ecgreb
Copy link
Collaborator

ecgreb commented May 16, 2016

05-16 11:43:28.175 23914-23914/com.mapzen.erasermap E/ActivityThread:
Activity com.mapzen.erasermap.controller.MainActivity has leaked ServiceConnection
com.mapzen.erasermap.util.NotificationCreator$NotificationServiceConnection@1269d96
that was originally bound here
    android.app.ServiceConnectionLeaked: Activity com.mapzen.erasermap.controller.MainActivity has leaked ServiceConnection com.mapzen.erasermap.util.NotificationCreator$NotificationServiceConnection@1269d96 that was originally bound here
    at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1092)
    at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:986)
    at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1303)
    at android.app.ContextImpl.bindService(ContextImpl.java:1286)
    at android.content.ContextWrapper.bindService(ContextWrapper.java:604)
    at com.mapzen.erasermap.util.NotificationCreator.createNewNotification(NotificationCreator.kt:65)
    at com.mapzen.erasermap.view.RouteModeView.displayInstruction(RouteModeView.kt:336)
    at com.mapzen.erasermap.presenter.RoutePresenterImpl.onSetCurrentInstruction(RoutePresenterImpl.kt:139)
    at com.mapzen.erasermap.view.RouteModeView.setCurrentInstruction(RouteModeView.kt:329)
    at com.mapzen.erasermap.presenter.RoutePresenterImpl.onRouteStart(RoutePresenterImpl.kt:38)
    at com.mapzen.erasermap.view.RouteModeView.startRoute(RouteModeView.kt:436)
    at com.mapzen.erasermap.controller.MainActivity.startRoutingMode(MainActivity.kt:1145)
    at com.mapzen.erasermap.presenter.MainPresenterImpl.generateRoutingMode(MainPresenterImpl.kt:425)
    at com.mapzen.erasermap.presenter.MainPresenterImpl.onClickStartNavigation(MainPresenterImpl.kt:310)
    at com.mapzen.erasermap.controller.MainActivity$initReverseButton$3.onClick(MainActivity.kt:1035)
    at android.view.View.performClick(View.java:5205)
    at android.view.View$PerformClick.run(View.java:21164)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant