quarnster/SublimeClang — Issue #20: Python crash on files without error
Author: alimbourg
Created: 2012-01-20 17:07:38+00:00
State: open

Small python crash triggered by files without error(?) in `display_compilation_results`
Missing a null window case test in `sublimeclang.py, Line 590`, patched like this:

if not window is None:
if show:
window.run_command("show_panel", {"panel": "output.clang"})
elif get_setting("hide_output_when_empty", False):
window.run_command("hide_panel", {"panel": "output.clang"})

cheers !