mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
Bug 160353 - avoid readAndDispatch. This method should always be called on secondary thread anyway
This commit is contained in:
parent
5a0ab16969
commit
74a7f2d59e
2 changed files with 4 additions and 4 deletions
|
@ -307,9 +307,9 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
|
|||
// Current thread is UI thread
|
||||
while (_workingStatuses.contains(status))
|
||||
{
|
||||
while (display.readAndDispatch()) {
|
||||
// while (display.readAndDispatch()) {
|
||||
//Process everything on event queue
|
||||
}
|
||||
// }
|
||||
|
||||
if ((monitor != null) && (monitor.isCanceled()))
|
||||
{
|
||||
|
|
|
@ -287,9 +287,9 @@ public class DStoreStatusMonitor implements IDomainListener
|
|||
// Current thread is UI thread
|
||||
while (_workingStatuses.contains(status))
|
||||
{
|
||||
while (display.readAndDispatch()) {
|
||||
// while (display.readAndDispatch()) {
|
||||
//Process everything on event queue
|
||||
}
|
||||
// }
|
||||
|
||||
if ((monitor != null) && (monitor.isCanceled()))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue