References to selection-changed key functions are being held at module-level on some of the grid components. This prevents, in some cases, the grid/grid data from being GCd.
This PR moves those into the component "instances", which now get collected when the grid is closed.
Some other unused constants and functions were also removed.
How Was This Tested?
Offline, on an application which uses the grid at work.
Also, all the grid examples were ran again and they still work as expected.
Types of changes
[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 change)
Checklist:
[x] My change follows the style of this project
[ ] My change requires a change to the documentation
Description
References to selection-changed key functions are being held at module-level on some of the grid components. This prevents, in some cases, the grid/grid data from being GCd.
This PR moves those into the component "instances", which now get collected when the grid is closed.
Some other unused constants and functions were also removed.
How Was This Tested?
Offline, on an application which uses the grid at work. Also, all the grid examples were ran again and they still work as expected.
Types of changes
Checklist: