This PR introduces a mechanism of centralized handlers. This allows all of the handlers to be cleanely removed at destruction time, and for the device renderer to be fully picked up by the garbage collector.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
This PR introduces a mechanism of centralized handlers. This allows all of the handlers to be cleanely removed at destruction time, and for the device renderer to be fully picked up by the garbage collector.
Type of change
Checklist