AsyncTask thread still there after execute, is that normal?

前端 未结 3 559
无人共我
无人共我 2021-01-12 20:21

when I use AsyncTasks checking in the DDMS, the thread persist in memory as waiting thread after the onPostExecute() method, is that normal?. Here is a simplified Activity t

3条回答
  •  粉色の甜心
    2021-01-12 20:51

    Both the answers provided here are correct. In addition to that, the status of such threads in the pool will be "wait". This phenomenon could also be observed when using libraries like Okhttp which use connection pool for network operations.

提交回复
热议问题