mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[272421] AbstractHostShellOutputReader does not generate notification when error stream is closed
This commit is contained in:
parent
fcfe9f6e62
commit
33a5e18bf7
1 changed files with 5 additions and 5 deletions
|
@ -14,6 +14,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Martin Oberhuber (Wind River) - [197848] Fix shell terminated state when remote dies
|
* Martin Oberhuber (Wind River) - [197848] Fix shell terminated state when remote dies
|
||||||
* Martin Oberhuber (Wind River) - [217429] Make registering multiple output listeners thread-safe
|
* Martin Oberhuber (Wind River) - [217429] Make registering multiple output listeners thread-safe
|
||||||
|
* David McKnight (IBM) - [272421] AbstractHostShellOutputReader does not generate notification when error stream is closed
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.services.shells;
|
package org.eclipse.rse.services.shells;
|
||||||
|
@ -184,12 +185,11 @@ public abstract class AbstractHostShellOutputReader extends Thread implements I
|
||||||
_keepRunning = false;
|
_keepRunning = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isErrorReader()) {
|
|
||||||
//Bug 197848: Fire empty event as notification that we are done
|
//Bug 197848: Fire empty event as notification that we are done
|
||||||
HostShellChangeEvent event = new HostShellChangeEvent(_hostShell, this, 0, 0);
|
HostShellChangeEvent event = new HostShellChangeEvent(_hostShell, this, 0, 0);
|
||||||
fireOutputChanged(event);
|
fireOutputChanged(event);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
protected abstract IHostOutput internalReadLine();
|
protected abstract IHostOutput internalReadLine();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue