/Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h
Clears all handlers in a way that guarantees it won't overlap with message processing. This preserves internal integrity of the array and cases where our owner may be shutting down while receiving messages.
void ClearHandlers()