def close(self):
        """
        Unload all chunks and close all open file-handlers. Discard any unsaved data.
        """
        self.playerTagCache.clear()
        self.unload()
        try:
            shutil.rmtree(self.fileEditsFolder.filename, True)
            # Setup a way to close a work-folder?
        except SessionLockLost:
            pass

        Unload all chunks and close all open file-handlers. Discard any unsaved data.
        
pymclevel/leveldbpocket.py