free global cache

After context dispose shaders from cache doesn't work. Shader.free dispose all Program3D. Without this flash show fault
[Fault] exception, information=Error: Error #3600: No valid program set.