Skip to content

Commit

Permalink
fix(ui): abort link reliability check on dialog close
Browse files Browse the repository at this point in the history
Fixes #4105
  • Loading branch information
robertsLando committed Jan 27, 2025
1 parent abe7137 commit 54224d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/dialogs/DialogLinkReliability.vue
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ export default {
)
},
init(open) {
const wasRunning = this.running
this.mode = 0
this.statistics = null
this.infinite = false
Expand All @@ -295,7 +296,7 @@ export default {
this.bindEvent('linkReliability', this.onProgress.bind(this))
} else if (open === false) {
this.unbindEvents()
if (this.running) {
if (wasRunning) {
this.abortLinkReliabilityCheck()
}
}
Expand Down

0 comments on commit 54224d2

Please sign in to comment.