[C++] When to remove a body on collision

Hello.
I need to remove a body when it collides. Is it safe to remove it in the collision callback, or I need to destroy it at the end of the simulation step?
You only can destroy it when you're out of the simulation step function.
A piece of source code:
Code:
/// @warning This function is locked during callbacks.
void DestroyBody(b2Body* body);
Oops, I missed that one.
Ok, thanks!

Original thread: https://box2d.org/forum/viewtopic.php?t=3592