Permalink
Browse files

Fix uncompressed export causing a crash (issue introduced by me 2 com…

…mits ago in 1dedadc)
  • Loading branch information...
dmoagx committed Oct 8, 2015
1 parent 71c013d commit 602c224a4084c5cb804e1f30c7b4fe5fe068d91b
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/SPFileHandle.m
@@ -145,6 +145,7 @@ - (id)initWithFile:(FILE *)theFile fromPath:(const char *)path mode:(int)mode
}
// In write mode, set up a thread to handle writing in the background
else if (fileMode == O_WRONLY) {
wrappedFile->file = theFile; // can be changed later via setCompressionFormat:
processingThread = [[NSThread alloc] initWithTarget:self selector:@selector(_writeBufferToData) object:nil];
[processingThread setName:@"SPFileHandle data writing thread"];
[processingThread start];

0 comments on commit 602c224

Please sign in to comment.