Skip to content

Created and then deleted rectangles in autorender #63

Description

@luciansmith

In the 'autorender' command, 'rectangle' objects are created for global species, reaction, and compartment styles in the 'addGlobalStyles' function. Then they're deleted in the 'setStyle(..., "default")' function that is executed later. This was a source of a memory leak, because the removed rectangle wasn't deleted. That's now fixed, but it's still true that a single function creates and then deletes a thing, which probably isn't the most efficient way it could have done that.

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