Skip to content

Fix Open in Ice Cubes action crashing on launch - #2540

Open
meet4731 wants to merge 1 commit into
Dimillian:mainfrom
meet4731:fix/2520-open-in-ice-cubes-crash
Open

meet4731 wants to merge 1 commit into
Dimillian:mainfrom
meet4731:fix/2520-open-in-ice-cubes-crash

Conversation

@meet4731

Copy link
Copy Markdown
Contributor

The Open in Ice Cubes action in the share sheet does nothing, as reported in #2520. The extension crashes as soon as it starts.

Since #2422 the extension target uses main actor isolation by default, so ActionRequestHandler.init() is main actor isolated. The system creates the handler on a background queue, and the executor check traps. The crash report shows _checkExpectedExecutor in ActionRequestHandler.init() on com.apple.extension.global-state-queue.

Marking the class nonisolated fixes it. Tested on an iPad (A16) simulator on iOS 26.5: before the change the sheet closes and Safari stays where it is, after the change the app opens on the shared profile.

Fixes #2520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Open in Ice Cubes Share Sheet option doesn't work

1 participant