CamelIMAPXServer: Work around refcounting issue in IDLE thread.
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 17 Jan 2014 16:02:02 +0000 (11:02 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 17 Jan 2014 16:13:05 +0000 (11:13 -0500)
commit5c73cfabebfeae75aa0f1faa944efd7771e6b261
tree3d6b74217364f526d2122dccc32be54a50a050a1
parent7dff26083bf4da4c4b4c3112b8f21b006fe45e33
CamelIMAPXServer: Work around refcounting issue in IDLE thread.

Use the ol' weak-reference-as-callback-closure trick to avoid IDLE
command callbacks holding the last CamelIMAPXServer reference.
camel/providers/imapx/camel-imapx-server.c