Re: [Vala] libsoup Session.Async does not send stuff



On Thu, 2013-10-31 at 20:03 +0100, Luca Bruno wrote:
Keep the session alive here: Soup.SessionSync session = new
Soup.SessionSync ();
Add that as a server instance. Also, keep the server itself alive
somewhere.

Acutally this worked. Now i think i understand. The lifetime of the
SessionAsync ended, when it left the scope of the closure, this triggers
the real_cancel_message-method on all queued messages through some kind
of destructor.

Thank you for this hint!

Regards, grindhold

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]