<p dir="auto">my app get more the exception, from data statistics Occurrence times:580<br>
Affect the number of users:350，I think is background thread load img,but click backKey, the activity is destroy,and load imageview。i want glide add method on Activity/Fragment onDestroy  Glide.cancel(Activity/Fragment) , cancel this activity all load request, thank you help!</p>
<ul dir="auto">
<li>
<ol dir="auto">
<li>java.lang.RuntimeException: Unable to destroy activity {xxx.xxx.xxx.MainActivity}: java.lang.IllegalStateException: Activity has been destroyed</li>
</ol>
</li>
<li>
<ol start="2" dir="auto">
<li>at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3988)</li>
</ol>
</li>
<li>
<ol start="3" dir="auto">
<li>at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4006)</li>
</ol>
</li>
<li>
<ol start="4" dir="auto">
<li>at android.app.ActivityThread.access$1400(ActivityThread.java:178)</li>
</ol>
</li>
<li>
<ol start="5" dir="auto">
<li>at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1524)</li>
</ol>
</li>
<li>
<ol start="6" dir="auto">
<li>at android.os.Handler.dispatchMessage(Handler.java:111)</li>
</ol>
</li>
<li>
<ol start="7" dir="auto">
<li>at android.os.Looper.loop(Looper.java:194)</li>
</ol>
</li>
<li>
<ol start="8" dir="auto">
<li>at android.app.ActivityThread.main(ActivityThread.java:5644)</li>
</ol>
</li>
<li>
<ol start="9" dir="auto">
<li>at java.lang.reflect.Method.invoke(Native Method)</li>
</ol>
</li>
<li>
<ol start="10" dir="auto">
<li>at java.lang.reflect.Method.invoke(Method.java:372)</li>
</ol>
</li>
<li>
<ol start="11" dir="auto">
<li>at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1079)</li>
</ol>
</li>
<li>
<ol start="12" dir="auto">
<li>at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845)</li>
</ol>
</li>
<li>
<ol start="13" dir="auto">
<li>Caused by: java.lang.IllegalStateException: Activity has been destroyed</li>
</ol>
</li>
<li>
<ol start="14" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1515)</li>
</ol>
</li>
<li>
<ol start="15" dir="auto">
<li>at android.support.v4.app.s.a(BackStackRecord.java:638)</li>
</ol>
</li>
<li>
<ol start="16" dir="auto">
<li>at android.support.v4.app.s.i(BackStackRecord.java:621)</li>
</ol>
</li>
<li>
<ol start="17" dir="auto">
<li>at com.bumptech.glide.manager.RequestManagerRetriever.getSupportRequestManagerFragment(RequestManagerRetriever.java:187)</li>
</ol>
</li>
<li>
<ol start="18" dir="auto">
<li>at com.bumptech.glide.manager.SupportRequestManagerFragment.onAttach(SupportRequestManagerFragment.java:116)</li>
</ol>
</li>
<li>
<ol start="19" dir="auto">
<li>at android.support.v4.app.Fragment.onAttach(Fragment.java:1165)</li>
</ol>
</li>
<li>
<ol start="20" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1019)</li>
</ol>
</li>
<li>
<ol start="21" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="22" dir="auto">
<li>at android.support.v4.app.s.run(BackStackRecord.java:742)</li>
</ol>
</li>
<li>
<ol start="23" dir="auto">
<li>at android.support.v4.app.al.j(FragmentManager.java:1617)</li>
</ol>
</li>
<li>
<ol start="24" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2082)</li>
</ol>
</li>
<li>
<ol start="25" dir="auto">
<li>at android.support.v4.app.Fragment.performDestroy(Fragment.java:2198)</li>
</ol>
</li>
<li>
<ol start="26" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1196)</li>
</ol>
</li>
<li>
<ol start="27" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="28" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1234)</li>
</ol>
</li>
<li>
<ol start="29" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2083)</li>
</ol>
</li>
<li>
<ol start="30" dir="auto">
<li>at android.support.v4.app.Fragment.performDestroy(Fragment.java:2198)</li>
</ol>
</li>
<li>
<ol start="31" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1196)</li>
</ol>
</li>
<li>
<ol start="32" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="33" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1234)</li>
</ol>
</li>
<li>
<ol start="34" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2083)</li>
</ol>
</li>
<li>
<ol start="35" dir="auto">
<li>at android.support.v4.app.ai.o(FragmentController.java:244)</li>
</ol>
</li>
<li>
<ol start="36" dir="auto">
<li>at android.support.v4.app.FragmentActivity.onDestroy(FragmentActivity.java:369)</li>
</ol>
</li>
<li>
<ol start="37" dir="auto">
<li>at android.support.v7.app.AppCompatActivity.onDestroy(AppCompatActivity.java:193)</li>
</ol>
</li>
<li>
<ol start="38" dir="auto">
<li>at com.fxtv.framework.frame.BaseToolBarActivity.onDestroy(BaseToolBarActivity.java:104)</li>
</ol>
</li>
<li>
<ol start="39" dir="auto">
<li>at android.app.Activity.performDestroy(Activity.java:6292)</li>
</ol>
</li>
<li>
<ol start="40" dir="auto">
<li>at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1148)</li>
</ol>
</li>
<li>
<ol start="41" dir="auto">
<li>at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3975)</li>
</ol>
</li>
<li>
<ol start="42" dir="auto">
<li>... 10 more</li>
</ol>
</li>
<li>
<ol start="43" dir="auto">
<li>java.lang.IllegalStateException: Activity has been destroyed</li>
</ol>
</li>
<li>
<ol start="44" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1515)</li>
</ol>
</li>
<li>
<ol start="45" dir="auto">
<li>at android.support.v4.app.s.a(BackStackRecord.java:638)</li>
</ol>
</li>
<li>
<ol start="46" dir="auto">
<li>at android.support.v4.app.s.i(BackStackRecord.java:621)</li>
</ol>
</li>
<li>
<ol start="47" dir="auto">
<li>at com.bumptech.glide.manager.RequestManagerRetriever.getSupportRequestManagerFragment(RequestManagerRetriever.java:187)</li>
</ol>
</li>
<li>
<ol start="48" dir="auto">
<li>at com.bumptech.glide.manager.SupportRequestManagerFragment.onAttach(SupportRequestManagerFragment.java:116)</li>
</ol>
</li>
<li>
<ol start="49" dir="auto">
<li>at android.support.v4.app.Fragment.onAttach(Fragment.java:1165)</li>
</ol>
</li>
<li>
<ol start="50" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1019)</li>
</ol>
</li>
<li>
<ol start="51" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="52" dir="auto">
<li>at android.support.v4.app.s.run(BackStackRecord.java:742)</li>
</ol>
</li>
<li>
<ol start="53" dir="auto">
<li>at android.support.v4.app.al.j(FragmentManager.java:1617)</li>
</ol>
</li>
<li>
<ol start="54" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2082)</li>
</ol>
</li>
<li>
<ol start="55" dir="auto">
<li>at android.support.v4.app.Fragment.performDestroy(Fragment.java:2198)</li>
</ol>
</li>
<li>
<ol start="56" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1196)</li>
</ol>
</li>
<li>
<ol start="57" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="58" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1234)</li>
</ol>
</li>
<li>
<ol start="59" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2083)</li>
</ol>
</li>
<li>
<ol start="60" dir="auto">
<li>at android.support.v4.app.Fragment.performDestroy(Fragment.java:2198)</li>
</ol>
</li>
<li>
<ol start="61" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1196)</li>
</ol>
</li>
<li>
<ol start="62" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1252)</li>
</ol>
</li>
<li>
<ol start="63" dir="auto">
<li>at android.support.v4.app.al.a(FragmentManager.java:1234)</li>
</ol>
</li>
<li>
<ol start="64" dir="auto">
<li>at android.support.v4.app.al.w(FragmentManager.java:2083)</li>
</ol>
</li>
<li>
<ol start="65" dir="auto">
<li>at android.support.v4.app.ai.o(FragmentController.java:244)</li>
</ol>
</li>
<li>
<ol start="66" dir="auto">
<li>at android.support.v4.app.FragmentActivity.onDestroy(FragmentActivity.java:369)</li>
</ol>
</li>
<li>
<ol start="67" dir="auto">
<li>at android.support.v7.app.AppCompatActivity.onDestroy(AppCompatActivity.java:193)</li>
</ol>
</li>
<li>
<ol start="68" dir="auto">
<li>at com.fxtv.framework.frame.BaseToolBarActivity.onDestroy(BaseToolBarActivity.java:104)</li>
</ol>
</li>
<li>
<ol start="69" dir="auto">
<li>at android.app.Activity.performDestroy(Activity.java:6292)</li>
</ol>
</li>
<li>
<ol start="70" dir="auto">
<li>at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1148)</li>
</ol>
</li>
<li>
<ol start="71" dir="auto">
<li>at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3975)</li>
</ol>
</li>
<li>
<ol start="72" dir="auto">
<li>at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4006)</li>
</ol>
</li>
<li>
<ol start="73" dir="auto">
<li>at android.app.ActivityThread.access$1400(ActivityThread.java:178)</li>
</ol>
</li>
<li>
<ol start="74" dir="auto">
<li>at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1524)</li>
</ol>
</li>
<li>
<ol start="75" dir="auto">
<li>at android.os.Handler.dispatchMessage(Handler.java:111)</li>
</ol>
</li>
<li>
<ol start="76" dir="auto">
<li>at android.os.Looper.loop(Looper.java:194)</li>
</ol>
</li>
<li>
<ol start="77" dir="auto">
<li>at android.app.ActivityThread.main(ActivityThread.java:5644)</li>
</ol>
</li>
<li>
<ol start="78" dir="auto">
<li>at java.lang.reflect.Method.invoke(Native Method)</li>
</ol>
</li>
<li>
<ol start="79" dir="auto">
<li>at java.lang.reflect.Method.invoke(Method.java:372)</li>
</ol>
</li>
<li>
<ol start="80" dir="auto">
<li>at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1079)</li>
</ol>
</li>
<li>
<ol start="81" dir="auto">
<li>at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845)</li>
</ol>
</li>
</ul>
<p dir="auto">Since I've migrated more Glide calls to use fragment instead of application context I now receive a new crash report :</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="java.lang.RuntimeException: Unable to destroy activity xxx.ui.MediasListActivity}: java.lang.IllegalStateException: Activity has been destroyed
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4199)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4217)
       at android.app.ActivityThread.access$1500(ActivityThread.java:177)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1502)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:145)
       at android.app.ActivityThread.main(ActivityThread.java:5942)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
       at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
Caused by: java.lang.IllegalStateException: Activity has been destroyed
       at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1399)
       at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:637)
       at android.support.v4.app.BackStackRecord.commitAllowingStateLoss(BackStackRecord.java:620)
       at com.bumptech.glide.manager.RequestManagerRetriever.getSupportRequestManagerFragment(RequestManagerRetriever.java:187)
       at com.bumptech.glide.manager.SupportRequestManagerFragment.onAttach(SupportRequestManagerFragment.java:116)
       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:907)
       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1138)
       at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:740)
       at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1501)
       at android.support.v4.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:1965)
       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1088)
       at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1138)
       at android.support.v4.app.FragmentManagerImpl.moveToState$2563266(FragmentManager.java:1120)
       at android.support.v4.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:1966)
       at android.support.v4.app.FragmentActivity.onDestroy(FragmentActivity.java:316)
       at android.support.v7.app.AppCompatActivity.onDestroy(AppCompatActivity.java:158)
       at xxxx.ui.BaseActivity.onDestroy(BaseActivity.java:224)
       at android.app.Activity.performDestroy(Activity.java:6519)
       at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1154)
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4177)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4217)
       at android.app.ActivityThread.access$1500(ActivityThread.java:177)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1502)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:145)
       at android.app.ActivityThread.main(ActivityThread.java:5942)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
       at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
"><pre class="notranslate"><span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">RuntimeException</span>: <span class="pl-en">Unable</span> <span class="pl-en">to</span> <span class="pl-en">destroy</span> <span class="pl-en">activity</span> <span class="pl-en">xxx</span><span class="pl-kos">.</span><span class="pl-en">ui</span><span class="pl-kos">.</span><span class="pl-en">MediasListActivity</span><span class="pl-kos">}</span>: <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">IllegalStateException</span>: <span class="pl-en">Activity</span> <span class="pl-en">has</span> <span class="pl-en">been</span> <span class="pl-en">destroyed</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">performDestroyActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:4199</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">handleDestroyActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:4217</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">access</span>$1500<span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:177</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span>$H<span class="pl-kos">.</span><span class="pl-en">handleMessage</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1502</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Handler</span><span class="pl-kos">.</span><span class="pl-en">dispatchMessage</span><span class="pl-kos">(</span><span class="pl-v">Handler</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:102</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Looper</span><span class="pl-kos">.</span><span class="pl-en">loop</span><span class="pl-kos">(</span><span class="pl-v">Looper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:145</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:5942</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">reflect</span><span class="pl-kos">.</span><span class="pl-en">Method</span><span class="pl-kos">.</span><span class="pl-en">invoke</span><span class="pl-kos">(</span><span class="pl-v">Method</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">reflect</span><span class="pl-kos">.</span><span class="pl-en">Method</span><span class="pl-kos">.</span><span class="pl-en">invoke</span><span class="pl-kos">(</span><span class="pl-v">Method</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:372</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span>$MethodAndArgsCaller<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1400</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1195</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">de</span><span class="pl-kos">.</span><span class="pl-en">robv</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">xposed</span><span class="pl-kos">.</span><span class="pl-en">XposedBridge</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">XposedBridge</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:117</span><span class="pl-kos">)</span>
<span class="pl-en">Caused</span> <span class="pl-pds">by</span>: <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-v">IllegalStateException</span>: <span class="pl-v">Activity</span> <span class="pl-en">has</span> <span class="pl-en">been</span> <span class="pl-en">destroyed</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">enqueueAction</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1399</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">commitInternal</span><span class="pl-kos">(</span><span class="pl-v">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:637</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">commitAllowingStateLoss</span><span class="pl-kos">(</span><span class="pl-v">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:620</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">manager</span><span class="pl-kos">.</span><span class="pl-en">RequestManagerRetriever</span><span class="pl-kos">.</span><span class="pl-en">getSupportRequestManagerFragment</span><span class="pl-kos">(</span><span class="pl-v">RequestManagerRetriever</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:187</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">bumptech</span><span class="pl-kos">.</span><span class="pl-en">glide</span><span class="pl-kos">.</span><span class="pl-en">manager</span><span class="pl-kos">.</span><span class="pl-en">SupportRequestManagerFragment</span><span class="pl-kos">.</span><span class="pl-en">onAttach</span><span class="pl-kos">(</span><span class="pl-v">SupportRequestManagerFragment</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:116</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">moveToState</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:907</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">moveToState</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1138</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">BackStackRecord</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:740</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">execPendingActions</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1501</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">dispatchDestroy</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1965</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">moveToState</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1088</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">moveToState</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1138</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">moveToState</span>$2563266<span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1120</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentManagerImpl</span><span class="pl-kos">.</span><span class="pl-en">dispatchDestroy</span><span class="pl-kos">(</span><span class="pl-v">FragmentManager</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1966</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v4</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">FragmentActivity</span><span class="pl-kos">.</span><span class="pl-en">onDestroy</span><span class="pl-kos">(</span><span class="pl-v">FragmentActivity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:316</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">AppCompatActivity</span><span class="pl-kos">.</span><span class="pl-en">onDestroy</span><span class="pl-kos">(</span><span class="pl-v">AppCompatActivity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:158</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">xxxx</span><span class="pl-kos">.</span><span class="pl-en">ui</span><span class="pl-kos">.</span><span class="pl-en">BaseActivity</span><span class="pl-kos">.</span><span class="pl-en">onDestroy</span><span class="pl-kos">(</span><span class="pl-v">BaseActivity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:224</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">Activity</span><span class="pl-kos">.</span><span class="pl-en">performDestroy</span><span class="pl-kos">(</span><span class="pl-v">Activity</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:6519</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">Instrumentation</span><span class="pl-kos">.</span><span class="pl-en">callActivityOnDestroy</span><span class="pl-kos">(</span><span class="pl-v">Instrumentation</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1154</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">performDestroyActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:4177</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">handleDestroyActivity</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:4217</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">access</span>$1500<span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:177</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span>$H<span class="pl-kos">.</span><span class="pl-en">handleMessage</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1502</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Handler</span><span class="pl-kos">.</span><span class="pl-en">dispatchMessage</span><span class="pl-kos">(</span><span class="pl-v">Handler</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:102</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">Looper</span><span class="pl-kos">.</span><span class="pl-en">loop</span><span class="pl-kos">(</span><span class="pl-v">Looper</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:145</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">app</span><span class="pl-kos">.</span><span class="pl-en">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ActivityThread</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:5942</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">reflect</span><span class="pl-kos">.</span><span class="pl-en">Method</span><span class="pl-kos">.</span><span class="pl-en">invoke</span><span class="pl-kos">(</span><span class="pl-v">Method</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">reflect</span><span class="pl-kos">.</span><span class="pl-en">Method</span><span class="pl-kos">.</span><span class="pl-en">invoke</span><span class="pl-kos">(</span><span class="pl-v">Method</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:372</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span>$MethodAndArgsCaller<span class="pl-kos">.</span><span class="pl-en">run</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1400</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">com</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">internal</span><span class="pl-kos">.</span><span class="pl-en">os</span><span class="pl-kos">.</span><span class="pl-en">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">ZygoteInit</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:1195</span><span class="pl-kos">)</span>
       <span class="pl-en">at</span> <span class="pl-en">de</span><span class="pl-kos">.</span><span class="pl-en">robv</span><span class="pl-kos">.</span><span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">xposed</span><span class="pl-kos">.</span><span class="pl-en">XposedBridge</span><span class="pl-kos">.</span><span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-v">XposedBridge</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:117</span><span class="pl-kos">)</span></pre></div>