mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 11:45:38 +02:00
Clarify comment. Discussed with Marc.
This commit is contained in:
parent
2fb8d7a848
commit
5110ac05c1
1 changed files with 4 additions and 2 deletions
|
@ -2306,7 +2306,8 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
|||
if (fDebugSessionId != null) {
|
||||
if (getSession() != null) {
|
||||
try {
|
||||
// Store the values that we are going to change
|
||||
// Don't call getSession() from executor; may
|
||||
// return different session by the time it runs
|
||||
final DsfSession session = getSession();
|
||||
session.getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
|
@ -2343,7 +2344,8 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
|||
} else if (fDebugSessionId != null) {
|
||||
if (getSession() != null) {
|
||||
try {
|
||||
// Store the values that we are going to change
|
||||
// Don't call getSession() from executor; may return
|
||||
// different session by the time it runs
|
||||
final DsfSession session = getSession();
|
||||
session.getExecutor().execute(new DsfRunnable() {
|
||||
public void run() {
|
||||
|
|
Loading…
Add table
Reference in a new issue