mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[dstore] trivial - updateCancellableThreads needs to case to DataElement, not String
This commit is contained in:
parent
23f7863a0a
commit
1147df5c4f
1 changed files with 3 additions and 3 deletions
|
@ -455,12 +455,12 @@ public class UniversalFileSystemMiner extends Miner {
|
|||
{
|
||||
while (iter.hasNext())
|
||||
{
|
||||
String threadName = (String) iter.next();
|
||||
ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadName);
|
||||
DataElement threadElement = (DataElement) iter.next();
|
||||
ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadElement);
|
||||
if ((theThread == null) ||
|
||||
theThread.isDone() || theThread.isCancelled())
|
||||
{
|
||||
_cancellableThreads.remove(threadName);
|
||||
_cancellableThreads.remove(threadElement);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue