mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 09:55:29 +02:00
[214378] don't mark as finished until we have the results
This commit is contained in:
parent
8467cd10a4
commit
5ba8f2dcc4
1 changed files with 2 additions and 2 deletions
|
@ -167,11 +167,10 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe
|
|||
{
|
||||
if (_status.getValue().equals("done")) //$NON-NLS-1$
|
||||
{
|
||||
setStatus(IHostSearchConstants.FINISHED);
|
||||
//setStatus(IHostSearchConstants.FINISHED); // moved to within DelayedDomainListenerRemover
|
||||
// need to wait for the results though
|
||||
DelayedDomainListenerRemover remover = new DelayedDomainListenerRemover(this, _status);
|
||||
remover.start();
|
||||
// _status.getDataStore().getDomainNotifier().removeDomainListener(this);
|
||||
}
|
||||
else if (_status.getValue().equals("cancelled")) //$NON-NLS-1$
|
||||
{
|
||||
|
@ -210,6 +209,7 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe
|
|||
{
|
||||
}
|
||||
_status.getDataStore().getDomainNotifier().removeDomainListener(_config);
|
||||
_config.setStatus(IHostSearchConstants.FINISHED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue