[出自图像管理机 [Android] 在“交出Async()”正在等待取消渲染时解除上下文——“使用图像管理机”在卸载时完全如此
作者: dev-eyoungmin创建于 2026年9月16日更新于 2026年9月17日
标签needs reviewcontributor: external
| Phase | When release() happens |
Android | iOS |
|---|---|---|---|
| A · control | after the renderAsync() promise has resolved |
0 / 10 failed | 0 / 10 failed |
| B · explicit | 20 ms after the call, while the promise is pending | 10 / 10 failed | 0 / 10 failed |
C · useImageManipulator |
by the hook, when the component unmounts mid-render | 10 / 10 failed | 0 / 10 failed |
Phase A also prints the measured render duration — ≈81 ms on the Android emulator, ≈579 ms on the iOS simulator — so you can confirm that the 20 ms delay in phases B and C lands while the render is genuinely still in flight.
内容来源: expo/expo