Open fvanheeswijk opened 2 years ago
Thanks for the feedback! We've added this as a scenario on our backlog!
It should also be added that calling Dispose after calling Complete leads to a COMException. Ran into that today, should probably be fixed (or the documentation updated).
Currently the GetDeferral and CoreWebView2Deferral documentation is not developer-friendly, the latter has the following documentation:
However Threading model for WebView2 apps > Deferrals > Deferrals in C# indicates that
Complete()
should not be called butusing
should be used and thusDispose()
should be called. I think the documentation should be updated to reflect that.AB#40463981