Fix browser restore not sleeping at right time

This commit is contained in:
crschnick 2024-01-03 16:48:17 +00:00
parent c3cbe022b9
commit c59b6bb1ff

View file

@ -54,9 +54,9 @@ public class BrowserModel {
ThreadHelper.runAsync(() -> {
state.getEntries().forEach(e -> {
restoreStateAsync(e, null);
// Don't try to run everything in parallel as that can be taxing
ThreadHelper.sleep(1000);
});
// Don't try to run everything in parallel as that can be taxing
ThreadHelper.sleep(1000);
});
}