jcsteh / osara

OSARA: Open Source Accessibility for the REAPER Application
GNU General Public License v2.0
121 stars 45 forks source link

Refactor most uses of SetTimer in the code to use the new callLater function. #1051

Closed jcsteh closed 1 month ago

jcsteh commented 1 month ago

This makes things easier to read, keeps some code closer together, removes boilerplate that can be tricky to get right, etc. The only instances I didn't update are peakWatcher and updateCheck, which both need timers that keep repeating. callLater doesn't naturally support that yet.

AppVeyorBot commented 1 month ago

Build succeeded! Build osara pr1051-1395,46366911 completed (commit https://github.com/jcsteh/osara/commit/46366911e1 by @jcsteh) Downloads:

Windows - [installer/osara_pr1051-1395,46366911.exe](https://ci.appveyor.com/api/buildjobs/02d8j4ghq4427es6/artifacts/installer/osara_pr1051-1395,46366911.exe) - [locale/osara_pr1051-1395,46366911.pot](https://ci.appveyor.com/api/buildjobs/02d8j4ghq4427es6/artifacts/locale/osara_pr1051-1395,46366911.pot)
Mac - [installer/osara_pr1051-1395,46366911.dmg](https://ci.appveyor.com/api/buildjobs/yx8fbjh14b5kni57/artifacts/installer/osara_pr1051-1395,46366911.dmg)