]> git.proxmox.com Git - pxar.git/commit
don't hold temp buffer mutex across await point
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Jul 2022 12:36:46 +0000 (14:36 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Jul 2022 12:36:46 +0000 (14:36 +0200)
commitddc08ebb8b6540764aeabb3fa72695b6adfc3b47
tree7ebadecc03e4925eede5d8ce8a35b06aa7453acb
parenta50514a920dec26242a7adf083345ee7e4eb594c
don't hold temp buffer mutex across await point

the type system guarantees that this can only be accessed by
a single mutable instance, but it's still a bad idea

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/encoder/mod.rs