Clean up any resources created by GES in init.
It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools. This function should be called from the thread where init was called.
After this call GES should not be used until another init call.