Skip to content

Commit e8bb7fd

Browse files
committed
refactor: Remove redundant view controller clean up
This is effectively a no-op as it already occurs via UIKit behavior.
1 parent ca5ccc5 commit e8bb7fd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

WordPress/Classes/ViewRelated/NewGutenberg/NewGutenbergViewController.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,6 @@ class NewGutenbergViewController: UIViewController, PostEditor, PublishingEditor
200200

201201
// Cancel any pending tasks
202202
editorLoadingTask?.cancel()
203-
204-
// Clean up child view controller
205-
editorViewController.willMove(toParent: nil)
206-
editorViewController.view.removeFromSuperview()
207-
editorViewController.removeFromParent()
208203
}
209204

210205
// MARK: - Lifecycle methods

0 commit comments

Comments
 (0)