Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-835

Module is not removed from factory after failed install/update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-1.4.0
    • framework-1.4.1
    • Framework
    • None

    Description

      When a bundle is installed or updated we create a module in Felix.createModule and add it to the factory. If an exception is thrown later (e.g., because there is a native library missing) the module is not removed. We do clean up the contentloader, the archive, and the bundle so it is not a big memory leak but it might be a small one. Furthermore, it is possible that this might screw up subsequent resolves. We need to revisit that when we're done with the current resolver refactoring.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            karlpauls Karl Pauls
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: