friggog / tree-gen

Procedural generation of tree models in blender
GNU General Public License v3.0
827 stars 74 forks source link

Memory leak fix #12

Closed samipfjo closed 5 years ago

samipfjo commented 5 years ago

Generation thread was never getting terminated, which resulted in a memory-hogging zombie process graveyard. Remedied by daemonizing the threads and removing their reference (not storing the thread in a variable). Much faster and easier than checking for execution completion and manually terminating the thread.