Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 343862 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_0_NS.java (-1 / +7 lines)
Lines 1153-1159 Link Here
1153
					// If we don't, we risk an infinite loop where we try, over and over
1153
					// If we don't, we risk an infinite loop where we try, over and over
1154
					// to perform an operation that keeps on failing.
1154
					// to perform an operation that keeps on failing.
1155
					fOngoingOperation = false;
1155
					fOngoingOperation = false;
1156
					fOperationsPending.clear();
1156
1157
					// Complete each rm of the cancelled operations
1158
					while (fOperationsPending.size() > 0) {
1159
						RequestMonitor rm = fOperationsPending.poll().rm;
1160
						rm.setStatus(getStatus());
1161
						rm.done();
1162
					}
1157
					super.handleFailure();
1163
					super.handleFailure();
1158
				}
1164
				}
1159
			};
1165
			};
(-)src/org/eclipse/cdt/dsf/mi/service/MIRunControl.java (-1 / +8 lines)
Lines 1156-1162 Link Here
1156
					// If we don't, we risk an infinite loop where we try, over and over
1156
					// If we don't, we risk an infinite loop where we try, over and over
1157
					// to perform an operation that keeps on failing.
1157
					// to perform an operation that keeps on failing.
1158
					fOngoingOperation = false;
1158
					fOngoingOperation = false;
1159
					fOperationsPending.clear();
1159
					
1160
					// Complete each rm of the cancelled operations
1161
					while (fOperationsPending.size() > 0) {
1162
						RequestMonitor rm = fOperationsPending.poll().rm;
1163
						rm.setStatus(getStatus());
1164
						rm.done();
1165
					}
1166
1160
					super.handleFailure();
1167
					super.handleFailure();
1161
				}
1168
				}
1162
			};
1169
			};

Return to bug 343862