Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

example 01: memory access violation on windows 10 #10

Open
Labels
bugSomething isn't working
@Fahisto

Description

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\debug01円.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

        AltStyle によって変換されたページ (->オリジナル) /