Skip to content

Error when quitting application! #73

@ghost

Description

Hello.

Everything seems to work fine up until now, but found a bug when I quit the compiled application, either by the ESC key binding or by clicking the x in the window. The bug appears in BasicNodes.cpp, node->removeInputUnilateral( *this ); with the following warning: Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

void pdsp::OutputNode::disconnectAll() {

    for( InputNode* &node : outputs ) {
        node->removeInputUnilateral( *this );
    }
    connections = 0;
    state = Changed;
    outputs.clear();
}

Any idea on how to solve this when I quit the application, without calling a specific audio kill function in the openframeworks core code? Thanks!

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