mirror of https://github.com/zlatinb/muwire
Do not show warnings if core is already shutting down
parent
f0b5361d7b
commit
4e6e1b6f5b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue