Avalonia icon indicating copy to clipboard operation
Avalonia copied to clipboard

Avoid lock in timers

Open ili opened this issue 2 years ago • 2 comments

What does the pull request do?

Avoid lock in timers.

What is the current behavior?

Some timers do use interval + locks, some - Timer.Change().

What is the updated/expected behavior with this PR?

Timer.Change() can avoid unnessessary timer fiering and thread locking.

Connected with: #8691

ili avatar Aug 08 '22 15:08 ili

You can test this PR using the following package version. 0.10.999-cibuild0023000-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

avaloniaui-team avatar Aug 08 '22 15:08 avaloniaui-team

You can test this PR using the following package version. 0.10.999-cibuild0023015-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

avaloniaui-team avatar Aug 09 '22 09:08 avaloniaui-team

You can test this PR using the following package version. 0.10.999-cibuild0023151-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

avaloniaui-team avatar Aug 13 '22 01:08 avaloniaui-team