Skip to content

Commit

Permalink
Only unregister icon_manager if not in background mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hlorus committed Jul 20, 2024
1 parent 21ac026 commit a3af41b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def register():


def unregister():
icon_manager.unload()
if not background:
from . import icon_manager
icon_manager.unload()

if global_data.registered:
unregister_full()
Expand Down

0 comments on commit a3af41b

Please sign in to comment.