Open chenqiuhao1997 opened 3 years ago
I'm not sure I understand the problem. TrackingGet
and onDelete
will get the same item, but tonDelete
could be called at any point that 1 (or many) copies of item
are out in user-code.
Sure, the refcount
of item will be brought back up to 1, but I don't see that as being 'unsafe'.
Maybe I'm misunderstanding?
When Running
TrackingGet
, funcgc
could insert like this:That would cause getting items which have been processed onDelete func.