java.lang.IllegalArgumentException: View=DecorView@8f0813[MFBMain] not attached to window manager
at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:530)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:439)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:126)
at android.app.Dialog.dismissDialog(Dialog.java:389)
at android.app.Dialog.dismiss(Dialog.java:371)
at com.myflightbook.android.ActMFBForm$Companion.doAsync(ActMFBForm.kt:662)
at com.myflightbook.android.ActMFBForm$Companion$doAsync$1.invokeSuspend(Unknown Source:21)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:914)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
View=DecorView@8f0813[MFBMain] not attached to window managerView=DecorView@8f0813[MFBMain] not attached to window manager
java.lang.IllegalArgumentException: View=DecorView@8f0813[MFBMain] not attached to window manager at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:530) at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:439) at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:126) at android.app.Dialog.dismissDialog(Dialog.java:389) at android.app.Dialog.dismiss(Dialog.java:371) at com.myflightbook.android.ActMFBForm$Companion.doAsync(ActMFBForm.kt:662) at com.myflightbook.android.ActMFBForm$Companion$doAsync$1.invokeSuspend(Unknown Source:21) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at android.os.Handler.handleCallback(Handler.java:914) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:241) at android.app.ActivityThread.main(ActivityThread.java:7582) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941) View=DecorView@8f0813[MFBMain] not attached to window managerView=DecorView@8f0813[MFBMain] not attached to window manager