mirror of
https://github.com/wownero/i2p-zero.git
synced 2026-10-17 15:21:40 +02:00
using additional Platform.runLater for JavaFX thread safety
now building with i2p version 0.9.48
This commit is contained in:
@@ -19,7 +19,7 @@ fi
|
||||
|
||||
cd "$basedir/import/i2p.i2p"
|
||||
git fetch
|
||||
git checkout tags/i2p-0.9.47
|
||||
git checkout tags/i2p-0.9.48
|
||||
cd ..
|
||||
|
||||
if [ ! -d "$basedir/import/jdks" ]; then
|
||||
|
||||
@@ -361,10 +361,12 @@ public class Controller {
|
||||
}
|
||||
var tunnelList = getRouterWrapper().getTunnelControl().getTunnelList();
|
||||
tunnelList.addChangeListener(tunnels->{
|
||||
tunnelTableList.clear();
|
||||
tunnels.stream().filter(Tunnel::getEnabled).forEach(tunnelTableList::add);
|
||||
Platform.runLater(() -> {
|
||||
tunnelTableList.clear();
|
||||
tunnels.stream().filter(Tunnel::getEnabled).forEach(tunnelTableList::add);
|
||||
});
|
||||
});
|
||||
getRouterWrapper().getTunnelControl().getTunnelList().fireChangeEvent();
|
||||
Platform.runLater(() -> getRouterWrapper().getTunnelControl().getTunnelList().fireChangeEvent());
|
||||
}).start();
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.19
|
||||
1.20
|
||||
Reference in New Issue
Block a user