Skip to content

Commit

Permalink
early return when dashboard disabled
Browse files Browse the repository at this point in the history
to prevent one-time display on run
  • Loading branch information
JensDll committed Aug 5, 2024
1 parent 79b81f1 commit f7fadc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unix/.config/lldbdash/dashboard/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ def __init__(
Dashboard.instance = self

def handle_stop(self, exe_ctx: lldb.SBExecutionContext, out: Output):
show_divider = Dashboard.settings["show-divider"].value
self.apply_config()
if not Dashboard.enabled:
return
show_divider = Dashboard.settings["show-divider"].value
size = shutil.get_terminal_size((160, 24))
for module in Dashboard.modules:
output = out
Expand Down

0 comments on commit f7fadc4

Please sign in to comment.