Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-611

Module method close() not invoked on uninstall or stop.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • config
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1322
    • Normal

    Description

      There is a method in the Java code generated from Yang:

      public abstract java.lang.AutoCloseable createInstance();

      I implement createInstance() to return an instance of AutoClose with a close() method that closes all my socket connections. There is also a log statement in the close() method. Naturally I want to check that the close() method executes. I want to see the log output.

      If I shutdown Equinox then close() is invoked but not if I uninstall or stop the bundle. Note that a shutdown after uninstall or stop does invoke close().

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              kjarrad@cisco.com Ken Jarrad
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: