diff --git a/Headers/gnustep/base/Streaming.h b/Headers/gnustep/base/Streaming.h index afff570cb..cf074a622 100644 --- a/Headers/gnustep/base/Streaming.h +++ b/Headers/gnustep/base/Streaming.h @@ -47,6 +47,10 @@ - (BOOL) isAtEof; - (void) flushStream; +/* We must separate the idea of "closing" a stream and "deallocating" a + stream because of delays in deallocation due to -autorelease. */ +- (void) closeStream; + - (BOOL) isWritable; @end diff --git a/Source/objects/Streaming.h b/Source/objects/Streaming.h index afff570cb..cf074a622 100644 --- a/Source/objects/Streaming.h +++ b/Source/objects/Streaming.h @@ -47,6 +47,10 @@ - (BOOL) isAtEof; - (void) flushStream; +/* We must separate the idea of "closing" a stream and "deallocating" a + stream because of delays in deallocation due to -autorelease. */ +- (void) closeStream; + - (BOOL) isWritable; @end