unoplatform / uno.extensions

Libraries to ease common developer tasks associated with building multi-platform mobile, desktop and web applications using Uno Platform or WinAppSDK.
https://platform.uno/
Other
69 stars 42 forks source link

fix(mvux): Properties update might be deferred too long if dispatcher is under heavy stress #2250

Closed dr1rrb closed 1 month ago

dr1rrb commented 1 month ago

fixes https://github.com/unoplatform/uno.extensions/issues/2188

Bugfix

Properties update might be deferred too long if dispatcher is under heavy stress

What is the current behavior?

When a property change often, we wait for the dispatcher to have process the last update before fetching the next update from the bg thread.

What is the new behavior?

Updates are scheduled as soon as possible from the bg thread and de-duplicated if

PR Checklist

Please check if your PR fulfills the following requirements:

agneszitte commented 1 month ago

@Mergifyio backport release/stable/4.1

mergify[bot] commented 1 month ago

backport release/stable/4.1

✅ Backports have been created

* [#2262 fix(mvux): Properties update might be deferred too long if dispatcher is under heavy stress (backport #2250)](https://github.com/unoplatform/uno.extensions/pull/2262) has been created for branch `release/stable/4.1` but encountered conflicts