1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:58:03 +01:00

Poll temp files in <C-i> so I don't have to be edgy every time I quit the editor.

This commit is contained in:
Kris Maglione
2010-10-05 02:05:24 -04:00
parent 24313887da
commit 57fe3fe9eb
2 changed files with 35 additions and 15 deletions

View File

@@ -1037,8 +1037,11 @@ const Buffer = Module("buffer", {
this.file = io.createTempFile();
this.file.write(this.docShell.document.body.textContent);
}
this.callback(this.file);
this.file.remove(false);
try {
this.callback(this.file);
} finally {
this.file.remove(false);
}
}
finally {
this.destroy();