forked from bartvdbraak/blender
fix for crash freeing console history.
This commit is contained in:
parent
00745a572b
commit
a5620a73b3
@ -681,6 +681,7 @@ static int console_clear_exec(bContext *C, wmOperator *op)
|
||||
if (history) {
|
||||
while (sc->history.first)
|
||||
console_history_free(sc, sc->history.first);
|
||||
console_history_verify(C);
|
||||
}
|
||||
|
||||
console_textview_update_rect(sc, ar);
|
||||
|
Loading…
Reference in New Issue
Block a user