Commit 7944fbb3 authored by ac32's avatar ac32

close after WAL settings on batch, ubuntu matlabPollDB

parent 1d8217ca
......@@ -356,8 +356,9 @@ function addFileToProcess(leverCommand,nSlot)
const LeverDB=require('./lever.js');
var leverDB=new LeverDB(leverCommand.leverFile);
leverDB.setWAL(function(){
addFiletoBatchSeg(leverCommand,nSlot);
leverDB.close();
leverDB.close(function(){
addFiletoBatchSeg(leverCommand,nSlot);
});
});
return;
}
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment