Skip to content

Commit

Permalink
pypluginmanger: re-reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Aug 20, 2024
1 parent aafcd05 commit 57cbc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panda/python/core/pandare/pypluginmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def unload_all(self):
Unload all PyPlugins
'''
# unload in reverse order of load time
plugin_list = {k:v for k,v in reversed(sorted(self.plugins.items(), key=lambda x: x[1].load_time))}
plugin_list = {k:v for k,v in sorted(self.plugins.items(), key=lambda x: x[1].load_time)}
while plugin_list:
name, cls = plugin_list.popitem()
self.unload(cls, do_del=False)
Expand Down

0 comments on commit 57cbc97

Please sign in to comment.