]> zoso.dev Git - libnemo.git/commit
If reset is called, cpuBuffer is destroyed, so it does not make sense to then unmap...
authorChris Duncan <chris@zoso.dev>
Thu, 9 Jan 2025 14:59:46 +0000 (06:59 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 9 Jan 2025 14:59:46 +0000 (06:59 -0800)
commit2a84fa611f4a26cc631de14f6328b3ef4e890684
treee11f7c76b4209184b71ddca3ceedce83b55cdf60
parent6eb2d29ddc2f45c7f702926d2f43a336e6f45e03
If reset is called, cpuBuffer is destroyed, so it does not make sense to then unmap it, so do that in the try block. Also try searching again after resetting.
src/lib/nano-pow/classes/gpu.ts