mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Free GTimer on switch to console
This commit is contained in:
parent
893b58bf4e
commit
aad7b3ed8a
@ -109,8 +109,11 @@ void
|
|||||||
title_bar_console(void)
|
title_bar_console(void)
|
||||||
{
|
{
|
||||||
werase(win);
|
werase(win);
|
||||||
typing = FALSE;
|
if (typing_elapsed) {
|
||||||
|
g_timer_destroy(typing_elapsed);
|
||||||
|
}
|
||||||
typing_elapsed = NULL;
|
typing_elapsed = NULL;
|
||||||
|
typing = FALSE;
|
||||||
|
|
||||||
_title_bar_draw();
|
_title_bar_draw();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user