mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 391185 - Do not cancel running source lookup job if framedata is identical
Change-Id: I879e640e976a1c1279587416e615356e596aaf1e
This commit is contained in:
parent
d6cf0f1418
commit
a8f2455861
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* IBM Corporation - initial API and implementation
|
||||
* Wind River Systems - initial API and implementation
|
||||
* Tensilica (Abeer Bagul) - fix for bug 391185
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.dsf.debug.ui.sourcelookup;
|
||||
|
||||
|
@ -749,7 +750,6 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
|
|||
private void startLookupJob(final FrameData frameData, final IWorkbenchPage page, boolean eventTriggered) {
|
||||
// If there is a previous lookup job running, cancel it.
|
||||
if (fRunningLookupJob != null) {
|
||||
fRunningLookupJob.cancel();
|
||||
if (!eventTriggered && frameData.isIdentical(fRunningLookupJob.fFrameData)) {
|
||||
// identical location - we are done
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue