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:
parent
893b58bf4e
commit
aad7b3ed8a
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user