mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
renderer/metal: release device on deinit()
This commit is contained in:
@ -207,6 +207,7 @@ pub const GPUState = struct {
|
||||
for (&self.frames) |*frame| frame.deinit();
|
||||
self.instance.deinit();
|
||||
self.queue.release();
|
||||
self.device.release();
|
||||
}
|
||||
|
||||
/// Get the next frame state to draw to. This will wait on the
|
||||
|
Reference in New Issue
Block a user