mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Fix wrong thread call on exite form sys tray
This commit is contained in:
parent
b4edbe2986
commit
9f38374539
@ -128,7 +128,7 @@ public class SystemTray {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
});
|
||||
exitItem.addActionListener(e -> onExit.run());
|
||||
exitItem.addActionListener(e -> UserThread.execute(onExit::run));
|
||||
}
|
||||
|
||||
public void hideStage() {
|
||||
|
@ -5,6 +5,7 @@ import io.bitsquare.app.Log;
|
||||
import io.bitsquare.app.Version;
|
||||
import io.bitsquare.common.Clock;
|
||||
import io.bitsquare.common.UserThread;
|
||||
import io.bitsquare.common.util.Utilities;
|
||||
import io.bitsquare.p2p.NodeAddress;
|
||||
import io.bitsquare.p2p.P2PService;
|
||||
import io.bitsquare.p2p.P2PServiceListener;
|
||||
@ -118,8 +119,11 @@ public class SeedNode {
|
||||
"Bitsquare_seed_node_" + String.valueOf(mySeedNodeAddress.getFullAddress().replace(":", "_")));
|
||||
|
||||
String logPath = Paths.get(appPath.toString(), "logs").toString();
|
||||
Log.setup(logPath, useDetailedLogging);
|
||||
Log.setup(logPath);
|
||||
log.info("Log files under: " + logPath);
|
||||
Version.printVersion();
|
||||
Utilities.printSysInfo();
|
||||
Log.setLevel(useDetailedLogging);
|
||||
|
||||
SeedNodesRepository seedNodesRepository = new SeedNodesRepository();
|
||||
if (progArgSeedNodes != null && !progArgSeedNodes.isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user