fix NPE
This commit is contained in:
parent
9440f84b41
commit
0e2ab20a21
|
@ -18,6 +18,7 @@ public class AsyncHandlerThread implements Runnable {
|
|||
|
||||
AsyncHandlerThread(List<Task> tasks, String name, TelegramAPI api) {
|
||||
this.tasks = tasks;
|
||||
this.api = api;
|
||||
shouldrun = true;
|
||||
thread = new Thread(this, name);
|
||||
thread.start();
|
||||
|
|
Loading…
Reference in New Issue