GUIBaseContext :: invalidateResourceCache - Reset GUI resource cache
The function resets the GUI resource cache, i.e. it removes all unused resources from the cache. This forces the GUI framework to reread GUI resources when required. The function may be used in order to provide updated GUI resources while running the application.
The function also removes OSI functions from the dictionary cache, which also will be reloaded when being requested, again. Since dictionary resources do not got an indication for being in use, it may happen, that OSI functions are removed, which are still in use, which may cause abnormal termination of the application. Hence, the function should never be called in a production environment.