Skip to content

Commit cbcbbcf

Browse files
author
José Valim
committed
Use :application.info[:loaded] to avoid races
1 parent 95b81c2 commit cbcbbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iex/lib/iex/autocomplete.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ defmodule IEx.Autocomplete do
177177
end
178178

179179
defp get_modules_from_applications do
180-
for {app, _, _} <- :application.loaded_applications,
180+
for {app, _, _} <- :application.info[:loaded],
181181
{_, modules} = :application.get_key(app, :modules),
182182
module <- modules do
183183
Atom.to_string(module)

0 commit comments

Comments
 (0)