
Things JavaScript Developers Should Know, Part 2 - JSJ 485
JavaScript Jabber
00:00
How to Fix a Dangling Pointer in a Buggit Application
D dangling pointers, or dangling references, is exactly that problem of again, let's say i'm handing over memory to two sub systems. And this time, instead of neither assuming ownership, both of them assume that they have ownership. Now, if you're lucky, this will cause a crash. If you're unlucky, then what might happen, for example, is that this same memory might get alocated for some other use. Then you've got the same memory being used by two different sub systems in the same application for storing and doing completely different things.
Play episode from 11:49
Transcript


