Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6308

"cleanup" incorrect behaviour

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.31.1
    • Fix Version/s: 1.32
    • Component/s: General
    • Labels:
    • Story Points:
      2
    • Sprint:
      DEV-32-8, DEV-32-6
    • Affect Type:
      Userdefined

      Description

      "Task" class has a virtual function called "cleanup", which intended to allocate resources the current task keeps. The calling of the base "cleanup" function might cause a problem, cuz it calls "cleanup" for all current subtasks. If any of these subtasks already was destroyed, a crash will happen. It's possible if, for example, "cleanup" was called from the destructor.
      We don't have a good solution for it now, so, it's necessary to discuss this question.

        Attachments

          Activity

            People

            Assignee:
            dsukhomlinov Dmitrii Sukhomlinov
            Reporter:
            dsukhomlinov Dmitrii Sukhomlinov
            Assigned Tester:
            Igor Chebykin [X] (Inactive)
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: