Clear more setTimeout identifiers

Repository details (talkie)
Project page
talkie
Project log category
(708 entries)
Repository
@joelpurra/talkie
Owner
@joelpurra
Contributors
Contributors on Github
Project status
⏲️ This project has had recent commits.
📂 This project is open.
🌠 This project is popular.
Repository activity period
🗓
Commits
751 commits
Stars
71 stars
Commit details (72c3fb13)
Author
Authored at
Committer
Joel Purra
Committed at

Commit message

Clear more setTimeout identifiers

  • Keep track of identifiers returned from setTimeout/setInterval calls, and clear them where possible.
  • Can make a difference in React, where stray/late timer executions may (try to) act on already unmounted components.
  • This commit does not complete the larger systematic cleanup effort needed with regards to stateful class instances etcetera.
Raw text
Clear more setTimeout identifiers

- Keep track of identifiers returned from `setTimeout`/`setInterval` calls, and clear them where possible.
- Can make a difference in React, where stray/late timer executions may (try to) act on already unmounted components.
- This commit does not complete the larger systematic cleanup effort needed with regards to stateful class instances etcetera.

Changed files (14)

Path Additions Deletions
code/packages/browser-background/src/background.mts +4 -1
code/packages/browser-background/src/background/add-on-installed-event-queue-polling.mts +12 -4
code/packages/browser-background/src/background/get-dependencies.mts +1 -0
code/packages/browser-shared/src/hydrate/get-dependencies.mts +1 -0
code/packages/options-application/src/app/main.tsx +16 -1
code/packages/options-application/src/app/sections/support/install-voices.tsx +18 -2
code/packages/options-application/src/app/sections/voices/voice-options/range-with-heading.tsx +9 -2
code/packages/options-application/src/containers/welcome-container.tsx +23 -3
code/packages/renderer/src/get-dependencies.mts +1 -0
code/packages/shared-application-helpers/src/basic.mts +18 -7
code/packages/shared-application-helpers/src/promise.mts +18 -5
code/packages/split-environment-interfaces/src/iapi.mts +3 -0
code/packages/split-environment-node/src/server-specific/api.mts +4 -0
code/packages/split-environment-webextension/src/browser-specific/api.mts +24 -6

Commit categories (3)