Add thread sleep

This commit is contained in:
J-Jamet
2020-04-29 16:35:17 +02:00
parent a92e5b5156
commit f451597746

View File

@@ -586,9 +586,9 @@ class DatabaseTaskNotificationService : NotificationService(), ProgressTaskUpdat
resultTask = result
}
}
// Additional wait if the dialog take time to show (device with low memory)
// Additional wait if the dialog take time to show
while(!allowFinishTask.get()) {
Thread.sleep(100)
Thread.sleep(250)
}
return resultTask
}