NativeScript iOS Daily: Worker Lifetime Overhaul
One developer opened three fixes today, all closing gaps in how workers start up, message, and shut down, addressing crashes and freed-memory reads uncovered by AddressSanitizer.
Duration: PT2M8S
Episode overview
This episode is a short developer briefing from NativeScript iOS Daily.
It explains recent repository work in plain language.
- Show: NativeScript iOS Daily
- Published: 2026-09-17T13:15:54Z
- Audio duration: PT2M8S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
It's September 17th, 2026, and this is NativeScript iOS Daily.
Today's activity centers on one theme: worker reliability, from birth to death. Adrian Niculescu opened three connected fixes that trace the full lifecycle of a worker, and each one closes a real crash path.
Start at startup. PR 478 fixes a crash when a worker's entry script sets a throwing "on-close" handler and calls close. The error handling code tried to read the worker's isolate before it was actually published, causing a null pointer fault. The fix changes error handlers to take the isolate from their caller…
Next, messaging. PR 477 fixes a subtle spec mismatch: posting "undefined" through a worker, a message port, or a broadcast channel was arriving on the other side as "null" instead of "undefined." Browsers preserve "undefined"; the runtime's message event constructor was collapsing it. That's now corrected so…
Then, teardown. PR 479 tackles the hardest case: a worker that shuts down while its own child worker is still running. Address Sanitizer caught a use of freed memory in "Worker Wrapper" during runtime destruction. Adrian's fix introduces a single atomic state to decide, unambiguously, which side is…
Together…