@@ -243,7 +243,6 @@ export async function publishIRacingSDKEvents(
243243
244244 let shouldStop = false ;
245245 let lastRunningState : boolean | undefined = undefined ;
246- let latestTelemetry : Telemetry | null = null ;
247246 let latestSession : Session | null = null ;
248247
249248 const telemetryCallbacks = new Set < ( value : Telemetry ) => void > ( ) ;
@@ -261,12 +260,6 @@ export async function publishIRacingSDKEvents(
261260 'runningState' ,
262261 lastRunningState
263262 ) ;
264- if ( latestTelemetry && perfTelemetryDeliveryEnabled )
265- overlayManager . publishMessageToOverlay (
266- id ,
267- 'telemetryInspector:telemetry' ,
268- telemetryForRenderer ( latestTelemetry )
269- ) ;
270263 if ( latestSession )
271264 overlayManager . publishMessageToOverlay ( id , 'sessionData' , latestSession ) ;
272265 } ) ;
@@ -333,7 +326,6 @@ export async function publishIRacingSDKEvents(
333326 }
334327
335328 if ( telemetry ) {
336- latestTelemetry = telemetry ;
337329 perfMetrics . markStart ( 'lifecycleTelemetry' ) ;
338330 lifecycle ?. _onTelemetry ( telemetry ) ;
339331 perfMetrics . markEnd ( 'lifecycleTelemetry' ) ;
@@ -416,7 +408,6 @@ export async function publishIRacingSDKEvents(
416408 // opened during a disconnect don't get re-seeded with stale data, and
417409 // so the references don't sit in main-process memory indefinitely.
418410 // They get repopulated on the next successful waitForData tick.
419- latestTelemetry = null ;
420411 latestSession = null ;
421412 overlayManager . clearLatestSessionData ?.( ) ;
422413 lifecycle ?. _onDisconnect ( ) ;
0 commit comments