Browse Source

Fixed release build

pull/1195/head
Nikita Tsukanov 9 years ago
parent
commit
835bf9a7e5
  1. 2
      src/Shared/PlatformSupport/StandardRuntimePlatform.cs

2
src/Shared/PlatformSupport/StandardRuntimePlatform.cs

@ -69,7 +69,9 @@ namespace Avalonia.Shared.PlatformSupport
{
if (!IsDisposed)
{
#if DEBUG
Backtraces.Remove(_backtrace);
#endif
_plat.Free(Address, Size);
GC.RemoveMemoryPressure(Size);
IsDisposed = true;

Loading…
Cancel
Save