Final Conclusion
This is definitively a platform-specific bug in the ArkTS runtime:
- Memory management issue: Objects are being freed prematurely
- GC timing difference: On this computer, the GC runs more aggressively or at different times
- Platform-specific: Only occurs on this specific hardware/OS configuration
The race condition fix I implemented is correct and necessary, but this specific computer has an additional runtime bug that prevents the code from working at all.
Recommendation: Use a different computer for development. This issue requires a fix from the ArkTS runtime team to address the memory management/GC issue.
Комментариев нет:
Отправить комментарий