Providers and dependants in dataDepend do not get cleaned correctly

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.0.0-alpha9, 7.0.0
    • Affects Version/s: None
    • Component/s: cockpit
    • None

      Providers and dependants in dataDepend do not get cleaned correctly up when surrounding scope gets destroyed.

      Problem arises in procDef instance and called process definitions tabs.

      ie. the following callback should get cleaned up correctly instead of leaking

      function MyController($scope) {
      $scope.data.get('asd', function(asd)

      { console.log(asd); }

      );
      }

      instead, the provided factory is not cleaned up at all and 'asd' is printed out once for each time the controller got initialized

            Assignee:
            Roman Smirnov
            Reporter:
            Nico Rehwaldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: