Update file.js

This commit is contained in:
Namhyeon Go 2020-11-25 11:49:08 +09:00
parent e0e2088e40
commit d8297d77a5

View File

@ -111,7 +111,7 @@ var FileObject = function() {
this.interface = this.interfaces[interfaceName]; this.interface = this.interfaces[interfaceName];
return this; return this;
}; };
this.setCharset = function(charset) { this.setCharset = function(charset) {
this.charset = charset; this.charset = charset;
return this; return this;
@ -189,6 +189,12 @@ var FileObject = function() {
return this.interface.CreateFolder(this.filename); return this.interface.CreateFolder(this.filename);
}; };
this.close = function() {
this.interfaces.fso = null;
this.interfaces.ado = null;
this.interface = null;
};
this.create(); this.create();
}; };