Add todo
This commit is contained in:
@@ -41,6 +41,7 @@ pub async fn flatpak_bundle(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a tmpfile
|
// Create a tmpfile
|
||||||
|
// TODO: ensure tmp_file is cleaned up on early return
|
||||||
let (tmp_path, mut tmp_file) = block_in_place(|| {
|
let (tmp_path, mut tmp_file) = block_in_place(|| {
|
||||||
let mut file = NamedTempFile::new()?;
|
let mut file = NamedTempFile::new()?;
|
||||||
file.disable_cleanup(true);
|
file.disable_cleanup(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user