prevent rare stacktraces on shutdown

This commit is contained in:
Zlatin Balevsky
2019-06-01 16:55:37 +01:00
parent 03d6af39ed
commit 9645716e18

View File

@@ -72,6 +72,8 @@ class MainFrameModel {
Timer timer = new Timer("download-pumper", true)
timer.schedule({
runInsideUIAsync {
if (!mvcGroup.alive)
return
builder.getVariable("downloads-table")?.model.fireTableDataChanged()
builder.getVariable("uploads-table")?.model.fireTableDataChanged()
}