What happens on Activity.finish() with AsyncTask still running in background?

前端 未结 1 804
温柔的废话
温柔的废话 2021-02-07 10:59

What happens on Activity.finish() with an AsyncTask still running in background?

Does it just pop the Activity off the Activity Stack, but wait to destroy the Activity o

1条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 11:18

    I've tried the same thing with the Thread, and my observation is it keeps running the thread.

    0 讨论(0)
提交回复
热议问题