qml: destroy qeswaphelper with SwapDialog and catch RuntimeErrors if qeswalhelper members are accessed after
This commit is contained in:
@@ -365,7 +365,10 @@ ApplicationWindow
|
||||
Component {
|
||||
id: swapDialog
|
||||
SwapDialog {
|
||||
onClosed: destroy()
|
||||
onClosed: {
|
||||
swaphelper.destroy()
|
||||
destroy()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user