voc / voctomix

Full-HD Software Live-Video-Mixer in python
https://c3voc.de/
MIT License
573 stars 104 forks source link

Clear signal_watch to avoid unix fd leak when pipeline is destroyed. #293

Closed orages closed 1 year ago

orages commented 2 years ago

Few days ago I encoutered the problem reported here : https://github.com/voc/voctomix/issues/172

After some investigation and thanks to strace I found out that the problem may comes from improper handling of pipeline destruction when a signal_watcher is set.

Removing it manually before the unref of the pipeline should fix the issue.