holepunchto / hyperdrive

Hyperdrive is a secure, real time distributed file system
Apache License 2.0
1.85k stars 136 forks source link

Add test to detect regression on drive.close() race condition #334

Closed HDegroote closed 1 year ago

HDegroote commented 1 year ago

Protects against regressions on a race condition which has been fixed.

Adapted from an old PR to hyperdrive-next: https://github.com/holepunchto/hyperdrive-next/pull/31