From eae8f606ac83325bea7742186be2541a02780e82 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Thu, 22 Aug 2024 14:04:37 -0700 Subject: [PATCH] Fix perf measuring bug --- src/languageserverinstance.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languageserverinstance.jl b/src/languageserverinstance.jl index f4fbbbe1..4fbfb435 100644 --- a/src/languageserverinstance.jl +++ b/src/languageserverinstance.jl @@ -82,7 +82,7 @@ mutable struct LanguageServerInstance jw = JuliaWorkspace() if hasfield(typeof(jw.runtime), :performance_tracing_callback) jw.runtime.performance_tracing_callback = (name, start_time, duration) -> begin - if g_operationId[] != "" && isopen(endpoint) + if g_operationId[] != "" && endpoint.status === :running JSONRPC.send( endpoint, telemetry_event_notification_type,