Merge pull request #515 from tiresiasfromthebai/fix-visualizer-refresh-on-exit

Don't auto-refresh the Array/Matrix visualizers when the program exits
This commit is contained in:
Ernie Pasveer
2026-08-09 16:19:27 -05:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -722,8 +722,9 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
bArrayStrideLineEdit->setFocus();
}
// At a stopping point, refresh.
}else if (text.startsWith("*stopped,reason=\"")) {
// At a stopping point, refresh. Skip the "exited" reasons: the program
// is gone and reading the arrays would fail with a memory error.
}else if (text.startsWith("*stopped,reason=\"") && text.startsWith("*stopped,reason=\"exited") == false) {
if (autoRefreshCheckBox->isChecked()) {
handleaRefreshButton();
+3 -2
View File
@@ -417,8 +417,9 @@ void SeerMatrixVisualizerWidget::handleText (const QString& text) {
matrixStrideLineEdit->setFocus();
}
// At a stopping point, refresh.
}else if (text.startsWith("*stopped,reason=\"")) {
// At a stopping point, refresh. Skip the "exited" reasons: the program
// is gone and reading the matrix would fail with a memory error.
}else if (text.startsWith("*stopped,reason=\"") && text.startsWith("*stopped,reason=\"exited") == false) {
if (autoRefreshCheckBox->isChecked()) {
handleRefreshButton();