Comfy-Org / Comfy-Org/ComfyUI

WAN 2.2 Once saved the video can't delete it from Output folder as it's busy

Open
#9,115 1 comment 0 reactions 0 assignees View on GitHub
bug-cop:answered bug-cop:ask-for-info Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Once I run the rendering, everything is fine until I watch the test video. Once I watched in VLC the video and close VLC, I can delete the video file

### Actual Behavior

Once I run the rendering, everything is fine until I watch the test video. Once I watched in VLC the video and close VLC, if I try to delete it gives me the error "The action can't be completed as it's open in Python.".
Once I run another rendering the file is released and I can delete it.
It didn't happen before with Wan 2.1 workflows.

![Image](https://github.com/user-attachments/assets/631d4854-4764-472e-8341-b21daf8d8f2e)

### Steps to Reproduce

Render a Wan 2.2 workflow and once you get the video, watch it and close the media player, then try to delete it.

### Debug Logs

```powershell
No logs about it
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.