mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 09:40:35 +13:00
Fix race condition when closing browser tabs
This commit is contained in:
parent
db18b54c93
commit
9437791629
1 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,9 @@ public class BrowserModel {
|
|||
selected.setValue(null);
|
||||
}
|
||||
open.closeSync();
|
||||
openFileSystems.remove(open);
|
||||
synchronized (BrowserModel.this) {
|
||||
openFileSystems.remove(open);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue