jankotek/MapDB — pull request #341 by fasterdude7 (2014-06-11 08:25:57+00:00)
Title: fix #335 Ensures that file resources are allways released.

A call to close() in StoreDirect.java will now release all resources even in the event that some file channels are already closed because of interrupted threads.

Also a call to close() will ensure that the engine is marked as closed.

Although this does NOT make mapDB work with interrupted threads, it does no worse by at least closing the File handles so, long running applications using mapDB don't run out of file handles.