Skip to content

Commit 4d3c9b0

Browse files
committed
fix crash on meta PID timout due to invalid options
1 parent b34609d commit 4d3c9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/debug_adapter/lib/debug_adapter/stacktrace.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ defmodule ElixirLS.DebugAdapter.Stacktrace do
100100
after
101101
5000 ->
102102
Process.exit(meta_query_pid, :kill)
103-
Process.demonitor(ref, false)
103+
Process.demonitor(ref, [:flush])
104104
Output.debugger_console("Timed out while obtaining meta for pid #{inspect(pid)}\n")
105105
[]
106106
end

0 commit comments

Comments
 (0)