eventRecorder: When capturing an event, verify that the receiver is not yet deleted in C++