Closed regular closed 2 years ago
If flumdb shuts down while we wait for the callback from getAuthor(), attempting to read the index results in a crash. This happens in unit tests, especially when ssb-ooo is involved (then ssb.get() might take 5 secs to call back)
This PR prevents the crash-on-exit.
Released 1.1.1
If flumdb shuts down while we wait for the callback from getAuthor(), attempting to read the index results in a crash. This happens in unit tests, especially when ssb-ooo is involved (then ssb.get() might take 5 secs to call back)
This PR prevents the crash-on-exit.