Skip to content

Recursion upon object creation #2

Description

@hilnius

Hi,
The Brainsocket object is a recursive object because of the line "this.connection.BrainSocket = this;" in BrainSocket.js
connection has a BrainSocket property which has in return another connection object.

This creates a recursive object.
I removed this line on my local version of BrainSocket and it fixed the problem. Not sure yet if other functions depend on it!

Thanks for fixing it !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions