Skip to content

Commit

Permalink
Caffe db auto close on destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz committed Mar 9, 2015
1 parent e301216 commit fbb91c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/caffeinputconns.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ namespace dd
:ImgInputFileConn(i),CaffeInputInterface(i) {}
~ImgCaffeInputFileConn()
{
if (_test_db)
_test_db->Close();
//if (_test_db)
//_test_db->Close();
}

// size of each element in Caffe jargon
Expand Down

0 comments on commit fbb91c0

Please sign in to comment.