Skip to content
Snippets Groups Projects
Commit fa42f5ff authored by deuce's avatar deuce
Browse files

Close files after use.

parent 1cfba7d9
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,7 @@ function Display_ASCII(filename) ...@@ -76,6 +76,7 @@ function Display_ASCII(filename)
break; break;
console.write(txt); console.write(txt);
} }
f.close();
return(true); return(true);
} }
...@@ -203,6 +204,7 @@ function Display_LORD(filename) ...@@ -203,6 +204,7 @@ function Display_LORD(filename)
} }
} }
} }
f.close();
if(out.length) if(out.length)
console.write(out); console.write(out);
return(true); return(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment