programmable logic array GUI mockup

This commit is contained in:
minjaesong
2021-10-16 15:39:57 +09:00
parent c6b96eeeb8
commit 40653ac4d1
2 changed files with 5 additions and 2 deletions

View File

@@ -90,11 +90,11 @@ internal class UnsafePtr(pointer: Long, allocSize: Long) {
fun destroy() {
if (!destroyed) {
UnsafeHelper.unsafe.freeMemory(ptr)
println("[UnsafePtr] Destroying pointer $this; called from:")
printStackTrace(this)
UnsafeHelper.unsafe.freeMemory(ptr)
destroyed = true
UnsafeHelper.unsafeAllocatedSize -= size

Binary file not shown.