Skip to content

Commit 4a894d4

Browse files
committed
Fix #102 by closing the fileHandle
1 parent 899ca98 commit 4a894d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Classes/Util/PBEasyPipe.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ - (void)setDataOutput:(nonnull NSMutableData *)dataOutput {
3737

3838
fileHandle.readabilityHandler = ^(NSFileHandle * _Nonnull fileHandle) {
3939
[dataOutput appendData:fileHandle.availableData];
40+
[fileHandle closeFile];
4041
};
4142
}
4243

0 commit comments

Comments
 (0)