docs should clearly detail that objective-c callbacks are scoped to an isolate
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- dart, objective-c
- Domain
- documentation
Research direction
Open the Objective-C interop documentation at the callbacks-and-multithreading-limitations section linked in the issue. Read the surrounding callback and isolate guidance, then add a clear warning that the VM crashes when a callback runs after the isolate that registered it exits. Done means the isolate-scoping and crash behavior are explicit and easy to find.
Written by the indexing model from the issue text.
Description
The documentation should explain that the VM will crash if an Objective-C callback occurs after the exit of the isolate that registered the callback.
Maybe this would the appropriate place to add the documentation:
https://dart.dev/interop/objective-c-interop#callbacks-and-multithreading-limitations
- Dominant language
- Dart
- Stars
- 274
- Forks
- 147
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 57
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dart-lang/native
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
package:ffigen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
needs-triage package:ffigen
Difficulty 5/5 Over a week Newbie friendliness 38/100
-
package:ffigen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
lang-objective_c package:ffigen
All issues in dart-lang/native
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·