Skip to content

Commit

Permalink
Remove redundant MainActor annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Dec 19, 2024
1 parent bf8fcb7 commit 80942be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CotEditor/Sources/Document/DocumentController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 80942be

Please sign in to comment.