mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 22:35:43 +02:00
[251619] [dstore] shell output readers not cleaned up on disconnect
This commit is contained in:
parent
75683349f6
commit
c762f2e839
1 changed files with 6 additions and 2 deletions
|
@ -12,11 +12,12 @@
|
|||
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||
*
|
||||
* Contributors:
|
||||
* {Name} (company) - description of contribution.
|
||||
* David McKnight (IBM) [251619] [dstore] shell output readers not cleaned up on disconnect
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.services.dstore.shells;
|
||||
|
||||
import org.eclipse.dstore.core.model.DE;
|
||||
import org.eclipse.dstore.core.model.DataElement;
|
||||
import org.eclipse.dstore.core.model.DataStore;
|
||||
import org.eclipse.rse.services.dstore.util.DStoreStatusMonitor;
|
||||
|
@ -71,9 +72,12 @@ public class DStoreHostShell extends AbstractHostShell implements IHostShell
|
|||
|
||||
public void exit()
|
||||
{
|
||||
writeToShell("exit"); //$NON-NLS-1$
|
||||
writeToShell("exit"); //$NON-NLS-1$
|
||||
_status.setAttribute(DE.A_VALUE, "done"); //$NON-NLS-1$
|
||||
_stdoutHandler.finish();
|
||||
_stderrHandler.finish();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue