Call this function when you're done using GEGL.
It will clean up caches and write/dump debug information if the correct debug flags are set.