[Core] Fix repeatAsync running task synchronously (#2232)

This commit is contained in:
Dico Karssiens 2019-01-12 17:51:10 +00:00 committed by dordsor21
parent 5eaea8a31b
commit 0b12a109ce

View file

@ -76,7 +76,7 @@ public abstract class TaskManager {
if (IMP == null) { if (IMP == null) {
throw new IllegalArgumentException("disabled"); throw new IllegalArgumentException("disabled");
} }
return IMP.taskRepeat(runnable, interval); return IMP.taskRepeatAsync(runnable, interval);
} }
return -1; return -1;
} }