Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7673

destructors of stack objects not called upon ".q"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.04/02
    • Fix Version/s: 6.06/00
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      Debian 8.1 + gcc 4.9.2

      Description

      snippet that reproduces the issue:

      root[] class A { public: ~A() { std::cout << "dtor" << std::endl; } };
      root[] A a
      root[] .q

        Attachments

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              eguiraud Enrico Guiraud
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: