Dariusz Komosiński
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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; |
|
|
|
|
|
|
|
|