Ensure drm_outputs get destroyed on shutdown
The following discussion from !441 (merged) should be addressed:
-
@pq started a discussion: (+12 comments) Probably should
assert(!crtc->output);
here, otherwise the tear-down sequence would be bad and probably doing a use-after-free.
See !441 (comment 595155) for an analysis of what should be fixed.
Edited by Leandro Ribeiro