Skip to content

Commit

Permalink
fix crash caused by too many open files with --source-listing-only
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schuetz committed Feb 19, 2016
1 parent 3c80775 commit 3a729c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PotreeConverter/src/PotreeConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@ void PotreeConverter::convert(){

writeSources(this->workDir, sourceFilenames, numPoints, boundingBoxes, this->projection);
if(this->sourceListingOnly){
cout << "sourceListingOnly" << endl;
reader->close();
delete reader;

continue;
}

Expand Down

0 comments on commit 3a729c1

Please sign in to comment.