mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Fix browser restore not sleeping at right time
This commit is contained in:
parent
c3cbe022b9
commit
c59b6bb1ff
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ public class BrowserModel {
|
||||||
ThreadHelper.runAsync(() -> {
|
ThreadHelper.runAsync(() -> {
|
||||||
state.getEntries().forEach(e -> {
|
state.getEntries().forEach(e -> {
|
||||||
restoreStateAsync(e, null);
|
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);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue