Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sharedptr: decrement on destruction (#1)
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.
- Loading branch information