Skip to content

Dispose error on unitialized control #113

@MikaelStalvik

Description

@MikaelStalvik

If the GLWpfControl cannot be initialized as described in this issue, an error will be thrown when the control is internally disposed:

OpenTK.Windowing.GraphicsLibraryFramework.GLFWException: You can only dispose windows on the main thread. The window needs to be disposed as it cannot safely be disposed in the finalizer. at OpenTK.Windowing.Desktop.NativeWindow.Dispose(System.Boolean disposing) at offset 54 at OpenTK.Windowing.Desktop.NativeWindow.Finalize()

This seems weird since the actual control is created, but not properly initialized, on the main thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.0bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions