Skip to content

Commit

Permalink
An additional fix for #327
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Boytsov authored and Leonid Boytsov committed Jul 8, 2018
1 parent 50f444c commit ee68bd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python_bindings/nmslib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ struct IndexWrapper {
}

~IndexWrapper() {
LOG(LIB_DEBUG) << "Destroying Index";
// In cases when the interpreter was shutting down, attempting to log in python
// could throw an exception (https://github.com/nmslib/nmslib/issues/327).
//LOG(LIB_DEBUG) << "Destroying Index";
freeObjectVector(&data);
}

Expand Down

0 comments on commit ee68bd7

Please sign in to comment.