we should not terminate egl_display_, the reason is as follows:
When calling eglGetPlatformDisplayEXT to get egl_display_, egl will first check a dictionary<platform, egl_display>, if it contains
a display for the given configuration, it returns the display directly. otherwise it will create a new egl_display and put it into
the dictionary.
As the result, if there are more than one uiwidgets_panels in the uiwidgets_system, they will share the same egl_display instance.
Then when all the panels are disabled at the same time (happens when we hit the play button or close the Editor),the first calling of
eglTerminate here will uninitiate the shared egl_display instance, making it impossible for the other panels to be disabled properly.