[Gambas-user] A Task Issue

Gianluigi bagonergi at gmail.com
Wed Mar 7 11:17:52 CET 2018


Hi Jorge,
I just looked at the code and I see that in bCheckMail_Click() is missing,
I do not know if it can be useful.

    Else
        Balloon(("Can't connect with mailserver. Check your data."),
bCheckMail)
        mailAccount.Clear()
        lOk = False
        ' Missing Dec Application.Busy ' or
        Application.Busy = 0
    Endif

Regards
Gianluigi

2018-03-07 10:21 GMT+01:00 Jorge Carrión <shordi at gmail.com>:

> Hi everyone,
> I'm doing a Mail Checker using a task. It checks Mail in a timer interval
> of 10 seconds and send a desktop notify if there is new incoming mail. It
> seems work well but after a time it hangs.
> The check mail process is done by a task and I guess that there is
> something I missed about handling tasks.
>
> Each time the task checks mail a process of openssl remains open even the
> task is stoped and/or destroyed (null).
>
> Someone can help me about this? I've attached a little working example and
> the picture of the process list remaining after each mail check.
>
> Thanks in advance
>
> Best Regards
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180307/6e6d2bae/attachment.html>


More information about the User mailing list