fix: fix rare page faults caused by Window Server apps, change default wallpaper path

This commit is contained in:
2026-03-01 12:35:30 +01:00
parent 81fe089a4a
commit b04dcdf44a
5 changed files with 18 additions and 14 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ static void terminal_on_key(Window* win, const Montauk::KeyEvent& key) {
static void terminal_on_close(Window* win) {
TerminalState* ts = (TerminalState*)win->app_data;
if (ts) {
if (ts->cells) montauk::mfree(ts->cells);
if (ts->cells) montauk::free(ts->cells);
if (ts->alt_cells) montauk::free(ts->alt_cells);
montauk::mfree(ts);
win->app_data = nullptr;
}