cabana: fix coredump caused by getColor in updateSeries (#27265)

old-commit-hash: 99f12ca7f31a1d6ac8a54254f30d4a31ce628268
This commit is contained in:
Dean Lee
2023-02-09 05:29:16 +08:00
committed by GitHub
parent b94e06a6be
commit f01f51a22a
+1 -1
View File
@@ -525,7 +525,7 @@ void ChartView::updateSeries(const Signal *sig, const std::vector<Event *> *even
s.vals.clear();
s.vals.reserve(settings.max_cached_minutes * 60 * 100); // [n]seconds * 100hz
s.last_value_mono_time = 0;
s.series->setColor(getColor(sig));
s.series->setColor(getColor(s.sig));
}
struct Chunk {