Commit Graph

4 Commits

Author SHA1 Message Date
Mr. Stallion 6d95321ac4 minor 2023-12-20 20:49:19 -08:00
buttercheezii c539dba6a8 Fix insane bug where some profiles cause client hang
Some code was converting the customs object to an array with millions of elements, which caused iteration and ipc transport (json serialize) to hang the client for many minutes at a time.

This is probably because incorrect lodash functions were used on the customs. Lodash would convert it to array and then it would get stored and turn up as array every time, corrupting storage and ensuring client denial of service.

This fixes that bug by avoiding using incorrect lodash functions that convert things to arrays with millions of elements.

It also retroactively fixes profiles that were stored with array customs, so the client won't crash.
2021-12-06 05:00:44 -08:00
Mr. Stallion b09fe7ec43 Minor 2021-02-02 19:55:10 -06:00
Mr. Stallion e1adc05cae Web worker draft 2021-01-23 18:52:27 -06:00