25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Don't forget to delete digraph

This commit is contained in:
Evgeniy Khramtsov 2017-05-01 10:14:00 +03:00
parent fddd6110e0
commit fe662c1a0a

View File

@ -159,7 +159,9 @@ sort_modules(Host, ModOpts) ->
end
end, Deps)
end, ModOpts),
[digraph:vertex(G, V) || V <- digraph_utils:topsort(G)].
Result = [digraph:vertex(G, V) || V <- digraph_utils:topsort(G)],
digraph:delete(G),
Result.
-spec start_modules(binary()) -> ok.