Skip to content
Snippets Groups Projects
Commit 76a9cc99 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Properly close flo file after re-writing it.

parent 1a075e76
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ load('fidocfg.js'); ...@@ -21,7 +21,7 @@ load('fidocfg.js');
load('binkp.js'); load('binkp.js');
load('freqit_common.js'); load('freqit_common.js');
var REVISION = 2.40; var REVISION = 2.41;
var version_notice = "BinkIT/" + REVISION; var version_notice = "BinkIT/" + REVISION;
var semaphores = []; var semaphores = [];
// data/binkstats.ini // data/binkstats.ini
...@@ -387,6 +387,7 @@ function handle_freq(reqfname, bp) ...@@ -387,6 +387,7 @@ function handle_freq(reqfname, bp)
// Now, check for the file... // Now, check for the file...
FREQIT.handle_regular(fname, bp, bp.authenticated === 'secure', pw, cfg); FREQIT.handle_regular(fname, bp, bp.authenticated === 'secure', pw, cfg);
} }
req.close();
} }
function rename_or_move(src, dst_dir, dst_fname) function rename_or_move(src, dst_dir, dst_fname)
...@@ -582,6 +583,7 @@ function callout_done(bp) ...@@ -582,6 +583,7 @@ function callout_done(bp)
break; break;
} }
}); });
f.close();
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment