1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-28 18:53:20 +02:00

[225902] [dstore] RSE download hangs

This commit is contained in:
David McKnight 2008-04-08 15:32:26 +00:00
parent 9199cca7a9
commit 5d57470548

View file

@ -17,6 +17,7 @@
* David McKnight (IBM) - [216252] MessageFormat.format -> NLS.bind * David McKnight (IBM) - [216252] MessageFormat.format -> NLS.bind
* Martin Oberhuber (Wind River) - [219952] Use MessageFormat for download progress message * Martin Oberhuber (Wind River) - [219952] Use MessageFormat for download progress message
* David McKnight (IBM) - [222448] [dstore] update DownloadListener to handle timeouts and nudge * David McKnight (IBM) - [222448] [dstore] update DownloadListener to handle timeouts and nudge
* David McKnight (IBM) - [225902] [dstore] RSE download hangs
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.services.dstore.util; package org.eclipse.rse.services.dstore.util;
@ -286,8 +287,8 @@ public class DownloadListener implements IDomainListener
if (status != null) if (status != null)
{ {
// token command to wake up update handler // token command to wake up update handler
DataElement subject = (DataElement)status.getParent().get(0); DataElement cmdDescriptor = _dataStore.findCommandDescriptor("C_REFRESH"); //$NON-NLS-1$
DataElement cmdDescriptor = _dataStore.localDescriptorQuery(subject.getDescriptor(), "C_QUERY_EXISTS"); DataElement subject = status.getParent().get(0);
if (cmdDescriptor != null) if (cmdDescriptor != null)
{ {
_dataStore.command(cmdDescriptor, subject); _dataStore.command(cmdDescriptor, subject);