public Thread start(AsyncTask asyncTask) { asyncTask.setManager(this); if (asyncTask.isTrustClose()) { addTask(asyncTask); } Runnable jvmShutdownHook = asyncTask.getJvmShutdownHook(); if (jvmShutdownHook != null) { Runtime.getRuntime().addShutdownHook(Utils.createThread(jvmShutdownHook)); } return Utils.startThread(asyncTask); }