Uploaded image for project: 'Apache MXNet (Retired)'
  1. Apache MXNet (Retired)
  2. MXNET-1376

Scala ResourceScope fix

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None

    Description

      The Scala ResourceScope.using method currently closes the scope that is passed to it. This shouldn't be happening. Ideally, the using method creates a new scope if it's not passed and closes it at exit but when one is passed it will not close it on behalf of the user. This is important because the scope is potentially used elsewhere.

      Unfortunately, the code is doing what is currently documented and this is potentially a breaking change. We need to look into options for how to remedy this while causing minimal impact to users.

      Attachments

        Activity

          People

            Unassigned Unassigned
            AndrewFAyres Andrew Ayres
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: