Fix browser restore not sleeping at right time

This commit is contained in:
crschnick committed 2024-01-03 16:48:17 +00:00
1 parent c3cbe022b9
commit c59b6bb1ff
1 file changed
+2 -2
@@ -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);
});
}