Skip to content
Snippets Groups Projects
Commit d171c7b3 authored by Marius Vlad's avatar Marius Vlad
Browse files

libweston/backend-drm: Re-order gbm destruction at DRM-backend tear down


Tearing down the drm-backend when there are no input devices, would call
for the gbm device destruction before compositor shutdown. The latter
would call into the renderer detroy function and assume that the
EGLDisplay, which was created using the before-mentioned gbm device, is
still available. This patch re-orders the gbm destruction after the
compositor shutdown when no one would make use of it.

Fixes: #314

Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
Suggested-by: default avatarDaniel Stone <daniel.stone@collabora.com>
parent 8df8532e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment