| 53 | |
| 54 | |
| 55 | static void cleanup(void) |
| 56 | { |
| 57 | if(PixmapHash::isAlloc()) PMHASH.kill(); |
| 58 | if(VisualHash::isAlloc()) VISHASH.kill(); |
| 59 | if(ContextHash::isAlloc()) CTXHASH.kill(); |
| 60 | if(GLXDrawableHash::isAlloc()) GLXDHASH.kill(); |
| 61 | if(WindowHash::isAlloc()) WINHASH.kill(); |
| 62 | if(EGLXDisplayHash::isAlloc()) EGLXDPYHASH.kill(); |
| 63 | if(EGLXWindowHash::isAlloc()) EGLXWINHASH.kill(); |
| 64 | if(backend::ContextHashEGL::isAlloc()) CTXHASHEGL.kill(); |
| 65 | if(backend::PbufferHashEGL::isAlloc()) PBHASHEGL.kill(); |
| 66 | if(backend::RBOContext::isAlloc()) RBOCONTEXT.kill(); |
| 67 | free(glExtensions); |
| 68 | unloadSymbols(); |
| 69 | } |
| 70 | |
| 71 | |
| 72 | void safeExit(int retcode) |
no test coverage detected