Browse Source

Merge pull request #1530 from jp2masa/defaultrenderloop-nre

Fixed possible NullReferenceException in DefaultRenderLoop
repro/1326-data-binding-issue
Jeremy Koritzinsky 8 years ago
committed by GitHub
parent
commit
f898f5e035
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Avalonia.Visuals/Rendering/DefaultRenderLoop.cs

4
src/Avalonia.Visuals/Rendering/DefaultRenderLoop.cs

@ -41,12 +41,12 @@ namespace Avalonia.Rendering
{ {
add add
{ {
_tick += value;
if (_subscriberCount++ == 0) if (_subscriberCount++ == 0)
{ {
Start(); Start();
} }
_tick += value;
} }
remove remove

Loading…
Cancel
Save