Conversation
| } else { | ||
| requestLayout() | ||
| setNextLayoutListener { | ||
| invokeOnWebViewUpToDate(block) |
There was a problem hiding this comment.
This being recursive, if the webview is detached or something similar, won't this will loop?
There was a problem hiding this comment.
Good catch, this will loop. Do you have any suggestions better than limiting max recursion?
There was a problem hiding this comment.
I think you could use coroutine cancellation with a scope got from the composition.
|
Sorry for the delay, I've been overwhelmed. Could you make your case for the third fix? What makes you think this is the right fix? I thought Regarding the crash in |
These 3 commits fix 3 crashes occurring in production:
Invocations on zero-size WebView:
Unwrapping null value
Reading from an already closed ZIP file