1
0
Fork 0
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:
Alain Magloire 2003-09-24 14:48:19 +00:00
parent 55d821e0a2
commit 4a9b8b97ef

View file

@ -311,11 +311,11 @@ public class ErrorParserManager extends OutputStream {
*/
public void close() throws IOException {
if (nOpens > 0 && --nOpens == 0) {
checkLine(true);
fDirectoryStack.removeAllElements();
fBaseDirectory = null;
if (outputStream != null)
outputStream.close();
checkLine(true);
}
}