JDK-8304659 : Dispose MTLContext and related native resources
Type:Sub-task
Component:javafx
Sub-Component:graphics
Affected Version:internal
Priority:P4
Status:Resolved
Resolution:Fixed
OS:os_x
CPU:generic
Submitted:2023-03-21
Updated:2023-03-21
Resolved:2023-03-21
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
In current Metal pipeline code in jfx-sandbox - MTLContext is created and initialized, but it is never disposed.
Add code to dispose MTLContext object and related native resources.