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:
parent
fddd6110e0
commit
fe662c1a0a
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user