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

fix sharedptr , weakptr implentation leak #1

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Commits on Jun 13, 2024

  1. sharedptr: decrement on destruction

    if we dont decrement the sharedptr on destruction any weakptr remaining
    will have an impl_ with a ref of 1 and upon destruction of the weakptr
    it wont delete the implentation because it thinks a shared pointer still
    exist.
    gulafaran committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    27b2482 View commit details
    Browse the repository at this point in the history