mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 525664: Add missing close in new Debugger Console
On Windows the PTY's waitFor will be blocked (and therefore not see debugger termination) until the handle to stream is closed. Change-Id: Ifa079a064733a12a03b07c3e7361e1d19d2b8be8
This commit is contained in:
parent
07e8917eb5
commit
7af3055b85
1 changed files with 7 additions and 0 deletions
|
@ -257,6 +257,13 @@ public class GdbTerminalConnector implements IGdbTerminalControlConnector {
|
|||
} catch (IOException e) {
|
||||
}
|
||||
|
||||
// Close the stream (ignore exceptions on close)
|
||||
try {
|
||||
fInputStream.close();
|
||||
} catch (IOException e) {
|
||||
/* ignored on purpose */
|
||||
}
|
||||
|
||||
return Status.OK_STATUS;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue