[Gambas-user] A Task Issue

Gianluigi bagonergi at gmail.com
Wed Mar 7 11:38:05 CET 2018


No Jorge,
I'm sorry I said nonsense, the dec of your code works well.

Regards
Gianluigi

2018-03-07 11:17 GMT+01:00 Gianluigi <bagonergi at gmail.com>:

> 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/c1b58613/attachment.html>


More information about the User mailing list