Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[METAL] Fix the rest memory leaks in Metal runtime #8175

Merged
merged 3 commits into from
Jun 4, 2021

Commits on Jun 2, 2021

  1. [METAL] Fix the rest memory leaks in Metal runtime

    When we throw exception from autoreleasepool, then the resources won't
    be released in proper way. In the documentation we can see that "When
    the block is exited with an exception, the pool is not drained.".
    
    Link on the documentation:
    https://clang.llvm.org/docs/AutomaticReferenceCounting.html#autoreleasepool
    
    Implemented a wrapper which handles all exceptions in autoreleasepool
    block and throw them after this block.
    echuraev committed Jun 2, 2021
    Configuration menu
    Copy the full SHA
    458be49 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Apply comments

    echuraev committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    2d4ced2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    841338a View commit details
    Browse the repository at this point in the history