GThreadPool and the ability to free data waiting to be handled
Submitted by Or Goshen
Link to original bug (#514531)
Description
Hi
I suggest that g_thread_pool_new_full() will also contain a GDestroyNotify argument that will be passed to the underlying GAsyncQueue. This way when you free a thread pool and dont want to wait for the jobs to be handled, no memory will get leaked.