Commit 8ec475a
gui: fix heatmap and render thread issues on database reload
Call destroyMap() in HeatMapDataSource::setChip when the chip changes
to invalidate cached heatmap data. Fix the MapSettingMultiChoice getter
type from const std::string to std::string to avoid std::function
double-wrapping. Stop render threads in saveSettings before serializing
renderer state to prevent races with the render thread on exit.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>1 parent f952e35 commit 8ec475a
3 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1632 | 1636 | | |
1633 | 1637 | | |
1634 | 1638 | | |
| |||
0 commit comments