1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 06:46:36 +01:00

delete subwindows before parent window on resize to prevent memory leaks

This commit is contained in:
Jfreegman
2014-07-09 22:11:31 -04:00
parent a774121c13
commit e19b0ed710
3 changed files with 10 additions and 7 deletions

View File

@@ -321,7 +321,7 @@ int init_connection(Tox *m)
return 4;
}
#define TRY_CONNECT 10
#define TRY_CONNECT 10 /* Seconds between connection attempts when DHT is not connected */
static void do_connection(Tox *m, ToxWindow *prompt)
{