summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorCedric Delamarre <cdl@esi-group.com>2020-12-10 13:27:12 +0100
committerCedric Delamarre <cdl@esi-group.com>2020-12-10 13:27:12 +0100
commiteb815e807bf62218d690ddc0caaaaf7dc00d6e97 (patch)
tree4a8662776a61aa7a98485cb334be8216ff4c9f01 /scilab
parentb40e91a8ec2424c159681bad6dddd31a053d1f61 (diff)
downloadscilab-eb815e807bf62218d690ddc0caaaaf7dc00d6e97.zip
scilab-eb815e807bf62218d690ddc0caaaaf7dc00d6e97.tar.gz
debugger: reset requested pause flag when abort
Change-Id: I22b897c2fd3322976fae70b1041dafbc86052529
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/ast/src/cpp/ast/debugmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
index 26ea968..11d1f0d 100644
--- a/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
+++ b/scilab/modules/ast/src/cpp/ast/debugmanager.cpp
@@ -468,6 +468,9 @@ void DebuggerManager::abort() //abort execution
468 // this state is check by the debuggerVisitor to do abort in the main thread 468 // this state is check by the debuggerVisitor to do abort in the main thread
469 setAborted(); 469 setAborted();
470 470
471 // reset requested pause in case we abort before beeing in pause
472 resetPauseRequest();
473
471 // abort in a pause 474 // abort in a pause
472 if(isInterrupted()) 475 if(isInterrupted())
473 { 476 {