Fixed weird bug with daily restart code
This commit is contained in:
@@ -25,7 +25,7 @@ import kotlin.collections.ArrayList
|
|||||||
class MajorUpdateWorker {
|
class MajorUpdateWorker {
|
||||||
var started = false
|
var started = false
|
||||||
val sequence = UpdateSequence()
|
val sequence = UpdateSequence()
|
||||||
val sdf = SimpleDateFormat("HH")
|
val sdf = SimpleDateFormat("HHmm")
|
||||||
fun start() = GlobalScope.launch {
|
fun start() = GlobalScope.launch {
|
||||||
started = true
|
started = true
|
||||||
while(true){
|
while(true){
|
||||||
|
|||||||
Reference in New Issue
Block a user