Empty the surface and context sets on terminate TRAC #13623 This prevents a crash when the application calls eglTerminate multiple times without destroying the contexts or surfaces. Signed-off-by: Daniel Koch
Empty the surface and context sets on terminate
TRAC #13623
This prevents a crash when the application calls eglTerminate multiple times without destroying the contexts or surfaces.
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: 947ae547afacb859f3991e003b9d6feb04be57d7@435 736b8ea6-26fd-11df-bfd4-992fa37f6226

adobe/angle.js,Mustaavalkosta/android_external_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,jgcaaprom/android_external_chromium_org_third_party_angle,spurious/angle-mirror,Mustaavalkosta/android_external_angle,xin3liang/platform_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle,spurious/angle-mirror,geekboxzone/lollipop_external_chromium_org_third_party_angle,xin3liang/platform_external_chromium_org_third_party_angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,adobe/angle.js,jgcaaprom/android_external_chromium_org_third_party_angle,xin3liang/platform_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle,MIPS/external-chromium_org-third_party-angle,spurious/angle-mirror,geekboxzone/lollipop_external_chromium_org_third_party_angle,spurious/angle-mirror,android-ia/platform_external_chromium_org_third_party_angle,adobe/angle.js,dumganhar/angleproject,dumganhar/angleproject,MIPS/external-chromium_org-third_party-angle,android-ia/platform_external_chromium_org_third_party_angle,dumganhar/angleproject,Mustaavalkosta/android_external_angle,Mustaavalkosta/android_external_angle,jgcaaprom/android_external_chromium_org_third_party_angle,dumganhar/angleproject,xin3liang/platform_external_chromium_org_third_party_angle,adobe/angle.js,android-ia/platform_external_chromium_org_third_party_angle,android-ia/platform_external_chromium_org_third_party_angle,jgcaaprom/android_external_chromium_org_third_party_angle