SteveSandersonMS / WebWindow

.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
Apache License 2.0
1.99k stars 214 forks source link

Eventbugsolution #89

Open jspuij opened 4 years ago

jspuij commented 4 years ago

This is a fix for https://github.com/SteveSandersonMS/WebWindow/issues/88.

What happened is that the renderer would clear up eventhandlers from a batch because it immediately got a "completed" task, without the call actually going to javascript.

We now wait for the render task to be signaled completed (or failed) from javascript, before processing the render as completed.