Skip to content

fix: resolve 2 bugs in Heliox-OS - #470

Closed
saurabhhhcodes wants to merge 1 commit into
VyomKulshrestha:mainfrom
saurabhhhcodes:fix/Heliox-OS-80046
Closed

saurabhhhcodes wants to merge 1 commit into
VyomKulshrestha:mainfrom
saurabhhhcodes:fix/Heliox-OS-80046

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

Description

This PR fixes real bugs found in the codebase:

  • Added null-safety guard: array.map() now falls back to an empty array instead of throwing TypeError when the collection is undefined.
  • Prevented interval leak: repeated mounts now clear the previous interval before scheduling a new one.

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #469

@saurabhhhcodes saurabhhhcodes closed this by deleting the head repository Aug 29, 2026
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.

1 participant