Skip to content

'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!' #24

@mpeters2

Description

@mpeters2

Tried to run the code example here: https://juliagraphics.github.io/Luxor.jl/dev/howto/livegraphics/

("Open and run the first window in its own thread:")

Got this:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow should only be instantiated on the main thread!'
*** First throw call stack:
libc++abi: terminating due to uncaught exception of type NSException
[30629] signal (6): Abort trap: 6
in expression starting at none:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions