pull/11/head
Timothée Rebours 3 years ago
parent 0e60987a20
commit 97908a4195
  1. 2
      lib/storage.js

@ -71,7 +71,7 @@ storage.flushToStorageAsync = async (options) => {
* database is loaded and a crash happens.
*/
let fd, errorOnFsync, errorOnClose
let fd, errorOnFsync, errorOnClose // TODO: sometimes it leaves some file descriptors open
try {
fd = await fsPromises.open(filename, flags)
try {

Loading…
Cancel
Save