In-depth lesson · Memory corruption
Reports behind this point
Hold reference-counted handles rather than raw pointers in callbacks, and iterate copies of containers that can be mutated during the loop.
In-depth lesson · Memory corruption
Hold reference-counted handles rather than raw pointers in callbacks, and iterate copies of containers that can be mutated during the loop.