state_trackers/osmesa/osmesa.c does not destroy screens and buffers on exit. This is a problem when using mesa in dynamically-loaded libraries.
Patch has been sent here: https://lists.freedesktop.org/archives/mesa-dev/2017-December/180118.html
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/883.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.