mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-09 18:36:27 +00:00
Core - Stop sampling SKTexture after disposal
This commit is contained in:
1 parent
02dd7df5dd
commit
ce5fa00aed
1 file changed
+1
@@ -114,6 +114,7 @@ public sealed class SKTexture : ITexture, IDisposable
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
_hasPixels = false;
|
||||||
_readback.Dispose();
|
_readback.Dispose();
|
||||||
Surface.Dispose();
|
Surface.Dispose();
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
|
|||||||
Reference in new issue
Block a user