Skip to content

Commit

Permalink
a potential fix for a locking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
arnimarj@gmail.com committed Aug 1, 2012
1 parent ed57b75 commit c25fde4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leveldb_ext.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ extern "C" void initleveldb(void)
INITERROR;
}

PyEval_InitThreads();

#if PY_MAJOR_VERSION >= 3
return leveldb_module;
#endif
Expand Down

0 comments on commit c25fde4

Please sign in to comment.