mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-06-23 08:30:38 +12:00
Fix browser restore not sleeping at right time
This commit is contained in:
parent
c3cbe022b9
commit
c59b6bb1ff
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue