#C0B8M7BUY Is there a safe way to execute a lambda ( making sure that if my lambda outlived my fragment it will not leak a reference) ?
- I have a function that makes an API call in the background, if the user closes the fragment before that API request finishes -> I’ll have a leak, since my block (lambda) executes functions from the fragment (so it holds an implicit-reference to the fragment).