Summary:
2022 New years intention: don't fix problems with arbitrarily timeouts
In production builds, settings weren't saved if apply + restart was used (apply and manual restart did work). I suspect a bug in redux-persist, since we do await a flush, but anyway a little delay seems to fix it consistently.
Changelog: Fixed an issue where changing settings wasn't persisted when using "Apply + Restart
P.S. I won't accept any insinuations that this was my new years intention of 2015, 2017, 2018, 2020 and 2021 as well.
Reviewed By: cekkaewnumchai
Differential Revision: D33377718
fbshipit-source-id: 3a9ec58b4f8208603d786342ddaf6bf02b3887c7