HISE Logo Forum
    • Categories
    • Register
    • Login

    OwnedArray leak

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 256 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by

      This happens when closing the app that runs in the debugger.
      I just run it and close it and this happens. But everything works smoothly

      *** Leaked objects detected: 26 instance(s) of class OwnedArray
      JUCE Assertion failure in juce_LeakedObjectDetector.h:92
      

      Where should I begin to track this issue down?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        If you hit continue, it should print out more of those messages with more specialised classes, which hints you towards the problematic class.

        Are you on the latest commit? I remember fixing a few leaks with custom look and feels a few weeks back.

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @Christoph Hart
          last edited by

          @Christoph-Hart I might have caught the culprit last night, I am doing a stupid thing with child panels when updating the list. I delete all panels from one of the child callbacks...

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            There's also a cyclic reference checker which might fire if you do something weird in the script.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            21

            Online

            1.8k

            Users

            12.0k

            Topics

            104.2k

            Posts