Skip to content

Odd Warning when exiting OpenGL sketches on OSX #6

Open
@hx2A

Description

@hx2A

When exiting an OpenGL sketch on OSX, and odd warning appears. Most likely there is some kind of OSX specific shutdown code that is not being run in the exitActual() method.

Steps to reproduce:

  1. Run this Sketch:
def settings():
    py5.size(250, 250, py5.P2D)

def draw():
    py5.rect(py5.mouse_x, py5.mouse_y, 10, 10)
  1. Exit the Sketch
  2. This message will appear:
2021-03-23 11:27:03.765 python[824:14388] NewtNSView::dealloc: softLock still hold @ dealloc!

Need to find out what object is generating that and shut it down properly.

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