Protect idle thread for the case store->idle_thread is not assigned on time
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 31 Jul 2009 09:26:17 +0000 (09:26 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Fri, 31 Jul 2009 09:26:17 +0000 (09:26 +0000)
commite4ee2cea9346c1e8e76bc2c84e4ef0e03a238d10
treed0f8fc5853729a68ea61d0731c1693e46f2b9ae1
parent0fdec9053741d524e9e49e5c2faa95745e3922e3
Protect idle thread for the case store->idle_thread is not assigned on time

* libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
(idle_thread): loop while the store->idle_thread is not assigned, to
avoid unexpected behavior for not being able to detect if we're
starting or stopping idle from idle thread.

git-svn-id: https://svn.tinymail.org/svn/tinymail/trunk@3956 d4f517bd-a70b-0410-9f68-c17655437c52
ChangeLog
libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c