Skip to content

Commit

Permalink
Only handleResumeExecution, when it is actually resumed
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed May 4, 2017
1 parent f87ad94 commit 603f5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/debugger/frontend/Suspension.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void suspend() {
try {
continueWaiting = tasks.take().execute();
SteppingStrategy strategy = activityThread.getSteppingStrategy();
if (strategy != null) {
if (!continueWaiting && strategy != null) {
strategy.handleResumeExecution(activity);
}

Expand Down

0 comments on commit 603f5e8

Please sign in to comment.