Unverified Commit bba4bb33 authored by Nikolai Rykunov's avatar Nikolai Rykunov Committed by GitHub

Close Metal context in MetalSwingRedrawer (#794)

parent 75555658
...@@ -49,6 +49,7 @@ internal class MetalSwingRedrawer( ...@@ -49,6 +49,7 @@ internal class MetalSwingRedrawer(
bytesToDraw = ByteArray(0) bytesToDraw = ByteArray(0)
storage.close() storage.close()
disposeMetalTexture(texturePtr) disposeMetalTexture(texturePtr)
context.close()
adapter.dispose() adapter.dispose()
super.dispose() super.dispose()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment