Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
14 stars 22 forks source link

[BUG] This module seems to be causing a sizeable memory leak in my world. #292

Open Cthoodles opened 4 days ago

Cthoodles commented 4 days ago

Describe the bug This module seems to be responsible for a memory leak that slows the performance of my foundry world. It's noticable fairly immediately, and gets worse over time. I used chrome's dev tools to check for the source of the leak and this module seems to be it--I also tested with only this module installed and no others. image

Steps to reproduce

  1. Go to a Foundry world with this module installed
  2. Click on several different tokens, with the Token Action HUD popping up each time
  3. Memory leak seemingly accumulates with each token clicked on.

Versions:

Additional context I host my world through Forge if that might make any difference somehow. Tested with all my modules installed, with just Token Action HUD & Token Action HUD Pathfinder 2e installed, and with no modules installed. This module or the PF2e system module definitely seems to be the culprit.