prevent tempfile from being deleted too soon

master
Lukáš Hozda 4 years ago
parent f37258f294
commit 59fc5a09e5

@ -170,6 +170,7 @@ impl BrowserState {
fs::remove_file(&self.tmpfilename).expect("failed to delete temp file");
return false;
}
tmpfile.keep();
return true;
}

Loading…
Cancel
Save