www586089 commented on issue #1641:
URL:
https://github.com/apache/cordova-android/issues/1641#issuecomment-1692624290
yes, the waiting is seem odd; it will hold a thread(this thread can't do
anything and just waiting util timeout); I think if post a message(that will do
the timeout check) and do the check will be more good(just check in UI thread
after timeout) ? in this way, there will be no memory leak and no thread be
holding until timeout.
In the origin code , timeout check is done in child thread, I don't
know what will happen if do the check in UI thread, so it's a problem before
we know why it wait in a child thread and what are the consideration for
this(timeout check in cihld thread).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]