Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Garbage collection of export_png() #8374
I am using export_png() for producing images. However, the phamtonjs process does not go away when program is fiished. After running the program for few times, I need to clean the phamtonjs process before it eat up all memory.
Therefore, I am writing to ask a possible way to do garbage collection after export_png() is done.
My solution is a little bit ugly. I did something like this.
So, I believe there is a way to fix the issue.