void DocAccessibleChild::Shutdown() { if (IsConstructedInParentProcess()) { DocAccessibleChildBase::Shutdown(); return; } PushDeferredEvent(MakeUnique<SerializedShutdown>(this)); DetachDocument(); }
XGDocEditor::~XGDocEditor() { DetachDocument(); }