Skip to content

example 01: memory access violation on windows 10 #10

Open
@Fahisto

Description

@Fahisto

Cannot implement Drop for VulkanApp in example01, because the usage of destroy_instance(None) crashes the program on closing the window and produces error: process didn't exit successfully: `target\debug\01.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Without the Drop implementation or the destroy_instance() usage everything is fine.
I read the actual docs for Vulakn API for this function, and I'm assuming there's a dangling reference somewhere inside the instance fields, but couldnt confirm (I'm not even sure if I'm right). Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions