basho/eleveldb — pull request #119 by matthewvon (2014-07-10 19:37:39+00:00)
Title: Must wait until complete close of iterator finishes. 

A previous hack allowing iterator close to return immediately created race condition that would lead to Erlang heap corruption/crash. This could be an Erlang heap issue (unlikely) or an uncovered race condition elsewhere in the eleveldb NIF (more likely). For now, the crash goes away when the iterator close call properly awaits a message saying leveldb's close has completed.