Commit 75a159dd authored by segfault's avatar segfault

Fix option groups being in random order after reinstalling service

parent fbb8a97d
......@@ -512,7 +512,7 @@ class OnionService(DBusObject, metaclass=abc.ABCMeta):
for option in self.options_dict.values():
option.clean_up()
option.unregister()
self.options_dict = dict()
self.options_dict = OrderedDict()
def restore(self):
# XXX: Fix me
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment