Commit a3e1159
fix: restore CleanUpload method and call for proper resource cleanup
The previous refactor (removing --no-delete-upload) accidentally removed
the CleanUpload method and its call in ExecuteCleanMethod. This caused
the SMB file writer handle registered in FileStager.Upload() to never
be closed.
Restored:
- CleanUpload method on ExecutionIO (closes provider resources)
- CleanUpload call in ExecuteCleanMethod (after upload + confirm)
Co-authored-by: Carter <carter-falconops@users.noreply.github.com>1 parent 8708171 commit a3e1159
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
0 commit comments