node: use `TempDir::close` in clone
It was reported that on WSL after dropping TempDir there are still open file
handles.
Attempt to close the TempDir and any open file handles, if possible – logging
the error, if any.
1 file changed
+7
-0
6ab3bfcb
→
1f0d2ce1
modified radicle-node/src/worker/fetch.rs
@@ -186,6 +186,13 @@ fn mv(tmp: tempfile::TempDir, storage: &Storage, rid: &RepoId) -> Result<(), err
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|