diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 9bb8b3cb..39fe2f24 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -4942,6 +4942,16 @@ void Worker::ProcessLockName( const QueueLockName& ev ) void Worker::ProcessPlotData( const QueuePlotData& ev ) { + switch( ev.type ) + { + case PlotDataType::Double: + if( !isfinite( ev.data.d ) ) return; + break; + case PlotDataType::Float: + if( !isfinite( ev.data.f ) ) return; + break; + } + PlotData* plot = m_data.plots.Retrieve( ev.name, [this] ( uint64_t name ) { auto plot = m_slab.AllocInit(); plot->name = name;