pokemon-showdown/server/modlog
Guangcong Luo d3df0b720b
Fix memory leak when hotpatching (#12174)
* Fix memory leak when hotpatching

* Remove Chat dependency from DexSearch

This was the original thing requiring importing Dex in Chat, which was
making hotpatching Chat all sorts of wonky.

See 14d13015af

* Use a global TeamValidator in dexsearch

This cleans up the final thing that was causing Chat hotpatches to also
pull in the entire `sim/` and `data/` trees.

(It's not actually used unless you're using dexsearch in single-process
mode, though.)

* Fix PM hotpatching
2026-07-15 00:58:04 -05:00
..
index.ts Fix memory leak when hotpatching (#12174) 2026-07-15 00:58:04 -05:00
transactions.ts Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00