Closed ilimugur closed 7 years ago
I thought of running all calls to get_summary using a child process for a more elegant design, but I ended up not doing it. The child process idea is an immediate fix, as @AdiChat put it, and the design of this project should not be affected by a defect in moviepy, which will likely get fixed at some point. Consequently, I directed the call to get_summary to a child process only when it made a difference.
Looks good 👍 Kindly add yourself to our Contributors list in a pull request 😄 Hope you are enjoying your journey with OpenGenus
@ilimugur Great job!
moviepy does not close files until garbage collection is done. The fix calls a function using moviepy through a child process, so that the usage of the relevant resources stops as soon as the function is done, and said resources can be manipulated by the parent process.
Fixes issue #38.