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

Add a close method.

parent 0e692cf8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -773,3 +773,16 @@ RecordFile.prototype.WriteField = function(val, fieldtype, def)
'use strict';
return this.writeField(val, fieldtype, def);
};
RecordFile.prototype.close = function()
{
while (this.locks.length > 0) {
this.unlock(this.locks[0]);
}
this.file.close();
};
RecordFile.prototype.Close = function()
{
'use strict';
return this.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