Browse Source

Add comments.

pull/3015/head
Dariusz Komosiński 7 years ago
committed by GitHub
parent
commit
c58e4a51b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Base/PriorityBindingEntry.cs

2
src/Avalonia.Base/PriorityBindingEntry.cs

@ -129,6 +129,8 @@ namespace Avalonia
}
else
{
// To avoid allocating closure in the outer scope we need to capture variables
// locally. This allows us to skip most of the allocations when on UI thread.
var instance = this;
var newValue = value;

Loading…
Cancel
Save