From 80942bee7e53fda7cc7aac6e60f34362678c07ce Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Thu, 19 Dec 2024 23:10:49 +0900 Subject: [PATCH] Remove redundant MainActor annotation --- CotEditor/Sources/Document/DocumentController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CotEditor/Sources/Document/DocumentController.swift b/CotEditor/Sources/Document/DocumentController.swift index fb4f47ebd7..2330297d45 100644 --- a/CotEditor/Sources/Document/DocumentController.swift +++ b/CotEditor/Sources/Document/DocumentController.swift @@ -357,7 +357,7 @@ final class DocumentController: NSDocumentController { /// - Parameters: /// - transientDocument: The transient document to be replaced. /// - document: The new document to replace. - @MainActor private func replaceTransientDocument(_ transientDocument: Document, with document: Document) { + private func replaceTransientDocument(_ transientDocument: Document, with document: Document) { for controller in transientDocument.windowControllers { document.addWindowController(controller)