Closed hyuckang closed 4 years ago
Hello @hyuckang,
Thanks for reporting. This bug appeared (and disappeared with a call to close()
) with Python 2.7 and 3.X ?
A bug that did not free memory existed in python3.X.
I solved the problem by calling pool.close ().
Ok, and should we add a join()
after or before the close()
?
I did not join()
before and after close()
.
This does not seem to affect the execution result.
I think you can add join()
after close ()
I found a bug using take_screenshot as a function in webscreenshot.py The program I made It's a simple program that takes a screenshot and takes a screenshot. Using the function as a daemon process, I found that the memory is not freed and continues to grow. The bug was caused by not closing the pool in webscreenshot.py
Thank you for making the program.