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

WindowLeaked Exception #90

Open
jasonni opened this issue Jun 3, 2017 · 0 comments
Open

WindowLeaked Exception #90

jasonni opened this issue Jun 3, 2017 · 0 comments

Comments

@jasonni
Copy link

jasonni commented Jun 3, 2017

I got an exception because the activity already be destroyed but dialog still showing,
Could you provide hide dialog API?

E/WindowManager: android.view.WindowLeaked: Activity has leaked window DecorView@411d6b4[] that was originally added here
                                 at android.view.ViewRootImpl.<init>(ViewRootImpl.java:418)
                                 at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331)
                                 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
                                 at android.app.Dialog.show(Dialog.java:322)
                                 at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:955)
                                 at com.kobakei.ratethisapp.RateThisApp.showRateDialog(RateThisApp.java:255)
                                 at com.kobakei.ratethisapp.RateThisApp.showRateDialog(RateThisApp.java:170)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant