Skip to content

Commit

Permalink
Fix perf measuring bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Aug 22, 2024
1 parent e400638 commit eae8f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageserverinstance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eae8f60

Please sign in to comment.