Uploaded image for project: 'HTrace'
  1. HTrace
  2. HTRACE-119

detach of NullScope singleton should not fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • master
    • 3.2.0
    • None
    • None

    Description

      The detach method of NullScope singleton is possible to be called multiple times by users avoiding conditionals by the assumption that NullScope#close and NullScope#detach results in no-op. Calling detach of NullScope singleton multiple times throws RuntimeException by HTRACE-101 now.

      Attachments

        1. HTRACE-119.001.patch
          2 kB
          Masatake Iwasaki
        2. HTRACE-119.002.patch
          2 kB
          Colin McCabe
        3. HTRACE-119.003.patch
          3 kB
          Masatake Iwasaki

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: