mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
NPE when monitor cancel change the other
of the checkline(true) for the flushing.
This commit is contained in:
parent
55d821e0a2
commit
4a9b8b97ef
1 changed files with 1 additions and 1 deletions
|
@ -311,11 +311,11 @@ public class ErrorParserManager extends OutputStream {
|
||||||
*/
|
*/
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
if (nOpens > 0 && --nOpens == 0) {
|
if (nOpens > 0 && --nOpens == 0) {
|
||||||
|
checkLine(true);
|
||||||
fDirectoryStack.removeAllElements();
|
fDirectoryStack.removeAllElements();
|
||||||
fBaseDirectory = null;
|
fBaseDirectory = null;
|
||||||
if (outputStream != null)
|
if (outputStream != null)
|
||||||
outputStream.close();
|
outputStream.close();
|
||||||
checkLine(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue