Skip to content

Conversation

arcadiaphy
Copy link
Member

@arcadiaphy arcadiaphy commented Feb 28, 2019

This PR is created in addition to apache/mxnet#14223 and dmlc/mshadow#369 to address memory issues in mxnet exit.

When TensorContainer's destructor becomes noexcept(false), classes that reference it also become noexcept(false) implicitly in destruction.

If inherited class's destructor is noexcept(false) and its base class has a virtual destructor, then base class's destructor should also be added noexcept(false) to successfully compile.

@szha
Copy link
Member

szha commented Mar 1, 2019

@arcadiaphy thanks for the fix. would you mind also look into the lint errors?

@arcadiaphy
Copy link
Member Author

@szha lint is ok

@szha szha merged commit 55f3c7b into dmlc:mxnet-stable Mar 2, 2019
@arcadiaphy arcadiaphy deleted the fix_release branch March 2, 2019 03:41
@szha szha mentioned this pull request Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants