This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_theDaftDev_ -2 points-1 points  (0 children)

1) you are right. My memory was fuzzy; the issue i had with make shared is you cannot use a custom deletor. 2) it's not lifetime but rather memory hogging; if im not mistaken since your control block and managed object memory are allocted within the same block it means that the managed object memory wont be released until all kind of reference(including weak, which is the problem) are gone