Added to deal with actor pooling implementations. Usually a recorder would track a weak ptr to the object to record and no longer record if the object became invalid. This function allows pooling implementations that do not necessarily destroy objects to deal with stopping recording correctly. Usually it is enough to invalidate the object that this recorder is recording, hence the function name.