Do not show warnings if core is already shutting down
This commit is contained in:
@@ -499,6 +499,8 @@ class MainFrameModel {
|
||||
}
|
||||
|
||||
void onRouterDisconnectedEvent(RouterDisconnectedEvent e) {
|
||||
if (core.getShutdown().get())
|
||||
return
|
||||
runInsideUIAsync {
|
||||
JOptionPane.showMessageDialog(null, "MuWire lost connection to the I2P router and will now exit.",
|
||||
"Connection to I2P router lost", JOptionPane.WARNING_MESSAGE)
|
||||
|
Reference in New Issue
Block a user