()
| 272 | } |
| 273 | |
| 274 | private void Load() |
| 275 | { |
| 276 | if (!File.Exists(_cachePath)) |
| 277 | return; |
| 278 | _lastSaveTime = DateTime.UtcNow; |
| 279 | |
| 280 | try |
| 281 | { |
| 282 | LoadGuarded(); |
| 283 | } |
| 284 | catch (Exception ex) |
| 285 | { |
| 286 | Editor.LogWarning(ex); |
| 287 | Editor.LogError("Failed to load editor cache. " + ex.Message); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | private void SaveGuarded() |
| 292 | { |
no test coverage detected