Skip to content

Commit eae8f60

Browse files
committed
Fix perf measuring bug
1 parent e400638 commit eae8f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languageserverinstance.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ mutable struct LanguageServerInstance
8282
jw = JuliaWorkspace()
8383
if hasfield(typeof(jw.runtime), :performance_tracing_callback)
8484
jw.runtime.performance_tracing_callback = (name, start_time, duration) -> begin
85-
if g_operationId[] != "" && isopen(endpoint)
85+
if g_operationId[] != "" && endpoint.status === :running
8686
JSONRPC.send(
8787
endpoint,
8888
telemetry_event_notification_type,

0 commit comments

Comments
 (0)