You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Andrew Ayres (JIRA)" <ji...@apache.org> on 2019/03/28 19:06:00 UTC

[jira] [Created] (MXNET-1376) Scala ResourceScope fix

Andrew Ayres created MXNET-1376:
-----------------------------------

             Summary: Scala ResourceScope fix
                 Key: MXNET-1376
                 URL: https://issues.apache.org/jira/browse/MXNET-1376
             Project: Apache MXNet
          Issue Type: Improvement
            Reporter: Andrew Ayres


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org