Unittest hangs on completion

David Zhang via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 30 19:07:21 PST 2016


On Saturday, 31 December 2016 at 02:36:01 UTC, rikki cattermole 
wrote:
> No, my understand is thus:
>
>  next = current.next;
>  theAllocator.dispose(current);
>
> When current is deallocated, current is pointing to free'd 
> memory.
> After that point it should be segfaulting when you try to 
> access it *I think*.

Huh, alright. I see what you mean. I'll keep this in mind.


More information about the Digitalmars-d-learn mailing list