mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 21:16:22 +00:00
Free GTimer on switch to console
This commit is contained in:
@@ -109,8 +109,11 @@ void
|
||||
title_bar_console(void)
|
||||
{
|
||||
werase(win);
|
||||
typing = FALSE;
|
||||
if (typing_elapsed) {
|
||||
g_timer_destroy(typing_elapsed);
|
||||
}
|
||||
typing_elapsed = NULL;
|
||||
typing = FALSE;
|
||||
|
||||
_title_bar_draw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user