Commit 2239a7b
authored
Avoid duplicate resource checksum refresh on start (#4885)
#### Summary
Avoid running a second full resource checksum refresh after successful
resource start.
#### Motivation
Resolves #4151. PR #3924 made checksum/cache work disk-backed, but
resource start still repeated `GenerateChecksums()` after
`StartResource()` already checked for changes. This made restarts
re-read resource and HTTP cache files unnecessarily.
#### Test plan
* Review console, Lua, refresh, and startup paths to confirm loaded
resources already get checksums during load or reload.
#### Checklist
* [x] Your code should follow the [coding
guidelines](https://wiki.multitheftauto.com/index.php?title=Coding_guidelines).
* [x] Smaller pull requests are easier to review. If your pull request
is beefy, your pull request should be reviewable commit-by-commit.1 parent 21b46f8 commit 2239a7b
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | 1072 | | |
1076 | 1073 | | |
1077 | 1074 | | |
| |||
0 commit comments