mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 17:47:30 +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);
|
selected.setValue(null);
|
||||||
}
|
}
|
||||||
open.closeSync();
|
open.closeSync();
|
||||||
|
synchronized (BrowserModel.this) {
|
||||||
openFileSystems.remove(open);
|
openFileSystems.remove(open);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue