Skip to content

fix(vulkan): vkDestroyDevice memory leak #32

@kolkov

Description

@kolkov

Problem

Device is not properly destroyed due to missing goffi signature for vkDestroyDevice.

Location

hal/vulkan/adapter.go:199

Impact

Minor memory leak when creating/destroying devices multiple times.

Solution

Update goffi signature to support vkDestroyDevice(VkDevice, VkAllocationCallbacks*).

Priority

P1 - Fix in v0.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions