Skip to content

Commit

Permalink
Removed a OnDisconnected method due to a possible crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jul 6, 2017
1 parent 5daa82b commit fd82981
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions UICompositionAnimations/Lights/PointerPositionSpotLight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,6 @@ protected override void OnConnected(UIElement newElement)
base.OnConnected(newElement);
}

/// <inheritdoc cref="XamlLight"/>
protected override void OnDisconnected(UIElement oldElement)
{
if (CompositionLight != null)
{
_Light.Dispose();
_Light = null;
CompositionLight = null;
}
base.OnDisconnected(oldElement);
}

/// <summary>
/// Gets or sets a custom appendage for the <see cref="GetIdStatic"/> method
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion UICompositionAnimations/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.0.0")]
[assembly: AssemblyVersion("2.6.1.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
2 changes: 1 addition & 1 deletion UICompositionAnimations/UICompositionAnimations.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>Sergio0694.UWP.UICompositionAnimations</id>
<version>2.6.0.0</version>
<version>2.6.1.0</version>
<title>UICompositionAnimations</title>
<description>A wrapper UWP PCL to work with Windows.UI.Composition and XAML animations, and Win2D effects</description>
<authors>Sergio Pedri</authors>
Expand Down

0 comments on commit fd82981

Please sign in to comment.