Files
Santiago Fernandez Madero fe8a2d0a4e Merged PR 12207: Port graphics metafile refcount fix to avoid disposing the native image multiple times
Ports: https://github.com/dotnet/runtime/commit/7939172ea4d0052901215e83fb59e7172dcd13d0

## Summary

Due to libgdiplus behavior we were disposing metafiles twice causing the app to crash. This adds a ref count to avoid disposing a metafile when a graphics instance still has a reference to it.

## Customer Impact

Detected via tests.

## Regression?

No.

## Testing

Unit tests.

## Risk

Low-medium.  The fix just adds a ref count to the metafile and avoids disposing it if it is still referenced by a graphics object.
2021-01-21 19:20:24 +00:00
..
2021-01-13 13:16:21 -08:00
2021-01-13 16:16:50 -08:00
2020-04-25 05:32:49 -07:00
2020-11-13 13:24:43 -08:00