Perhaps this is the offending line:
unowned ProxyServer self = server as ProxyServer;
Try removing "unowned" unless you are sure that
the Server is never freed.
I tried it, but it did not do the trick, i also tried to compile the code with the newest vala-compiler (0.22), but it did not make a difference (i used 0.16 before). Could the Problem be the two nested asynchronous contexts? I am not exactly sure how those closures work. Regards.
Attachment:
signature.asc
Description: This is a digitally signed message part