BeginDestroy is also called in editor, for example when you are leaving a level.

From Docs

“Called when this actor is explicitly being destroyed during gameplay or in the editor, not called during level streaming or gameplay ending”