buffer: track asynchronous buffers and don't release them until unref
synchronous buffers are read instantly and we can release them, but asynchronous ones have to be locked until they are unref'd from .current to avoid reading from a buffer after .release()
V
Vaxry committed
9994b73ad0af5c9ba5fc4058234cea77d0a1ddb1
Parent: d724556