1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Free GTimer on switch to console

This commit is contained in:
James Booth 2015-02-09 20:15:24 +00:00
parent 893b58bf4e
commit aad7b3ed8a

View File

@ -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();
}