1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 02:45:32 +02:00

[214378] don't mark as finished until we have the results

This commit is contained in:
David McKnight 2008-01-10 16:22:03 +00:00
parent 8467cd10a4
commit 5ba8f2dcc4

View file

@ -167,11 +167,10 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe
{ {
if (_status.getValue().equals("done")) //$NON-NLS-1$ 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 // need to wait for the results though
DelayedDomainListenerRemover remover = new DelayedDomainListenerRemover(this, _status); DelayedDomainListenerRemover remover = new DelayedDomainListenerRemover(this, _status);
remover.start(); remover.start();
// _status.getDataStore().getDomainNotifier().removeDomainListener(this);
} }
else if (_status.getValue().equals("cancelled")) //$NON-NLS-1$ else if (_status.getValue().equals("cancelled")) //$NON-NLS-1$
{ {
@ -210,6 +209,7 @@ public class DStoreFileSubSystemSearchResultConfiguration extends DStoreSearchRe
{ {
} }
_status.getDataStore().getDomainNotifier().removeDomainListener(_config); _status.getDataStore().getDomainNotifier().removeDomainListener(_config);
_config.setStatus(IHostSearchConstants.FINISHED);
} }
} }
} }