Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Mark couple of font method as main actor #175

Merged
merged 6 commits into from
Oct 21, 2024

Conversation

Muhieddine-El-Kaissi
Copy link
Collaborator

@Muhieddine-El-Kaissi Muhieddine-El-Kaissi commented Oct 16, 2024

the initial plan was only to mark Mainactor for traitCollectionOverrideForTesting but that triggered a chain reaction of MainActors that we need to add anyway at the end

Copy link
Collaborator

@scottasoutherland scottasoutherland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect you'd have problems trying to integrate this into our codebase as is. I'm guessing most of it would work, but i'm sure we have cases that fetch this font without being part of the mainactor. This is part of the reason i intend to move this over into the main iOS codebase, so we can test it out internally as we work on it without having to mess around with the package definitions. (tentatively planning this for next week).

Sources/Thumbprint/Font.swift Outdated Show resolved Hide resolved
Sources/Thumbprint/Font.swift Outdated Show resolved Hide resolved
@Muhieddine-El-Kaissi Muhieddine-El-Kaissi merged commit 48d59c9 into main Oct 21, 2024
1 check passed
@Muhieddine-El-Kaissi Muhieddine-El-Kaissi deleted the m/concurrency/font branch October 21, 2024 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants