mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-17 14:05:23 +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())
|
while (iter.hasNext())
|
||||||
{
|
{
|
||||||
String threadName = (String) iter.next();
|
DataElement threadElement = (DataElement) iter.next();
|
||||||
ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadName);
|
ICancellableHandler theThread = (ICancellableHandler) _cancellableThreads.get(threadElement);
|
||||||
if ((theThread == null) ||
|
if ((theThread == null) ||
|
||||||
theThread.isDone() || theThread.isCancelled())
|
theThread.isDone() || theThread.isCancelled())
|
||||||
{
|
{
|
||||||
_cancellableThreads.remove(threadName);
|
_cancellableThreads.remove(threadElement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue