mirror of https://github.com/zlatinb/muwire
prevent rare stacktraces on shutdown
parent
03d6af39ed
commit
9645716e18
|
@ -72,6 +72,8 @@ class MainFrameModel {
|
||||||
Timer timer = new Timer("download-pumper", true)
|
Timer timer = new Timer("download-pumper", true)
|
||||||
timer.schedule({
|
timer.schedule({
|
||||||
runInsideUIAsync {
|
runInsideUIAsync {
|
||||||
|
if (!mvcGroup.alive)
|
||||||
|
return
|
||||||
builder.getVariable("downloads-table")?.model.fireTableDataChanged()
|
builder.getVariable("downloads-table")?.model.fireTableDataChanged()
|
||||||
builder.getVariable("uploads-table")?.model.fireTableDataChanged()
|
builder.getVariable("uploads-table")?.model.fireTableDataChanged()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue