Error on closing Inkdrop on Win 11

The attached error appears “randomly” (I know, not so helpful) when closing Inkdrop on Windows 11.

Might it be related to an “old” version of node.js I have running? I have 16.18.1 and I cannot upgrade due to the techstack we are using.

Hi Patrick,

Thanks for the report.
The error message seems to come from leveldown, which is a database engine.
So, it happens in the native layer.
I guess it’s nothing to do with your installed node version.
I’ll look into the clean-up part!

@Patrick_Thomas v5.8.1-beta.1 should solve this issue.
Would you mind testing it?

The fix has landed in v5.8.1:

Let me know if the issue still persists.

I still get this error message sometimes.
Screenshot 2024-07-19 222646

I can reliably reproduce this error when I update the content of a note and then close the app immediately afterwards.

This situation has been simulated for reproduction. However, the error sometimes occurs even after a longer period of time between changing the note and closing the app.

On a side note: I find it quite unusual that I get this assertion dialog. (By default, these are only shown in debug builds)

@Lukas, thanks for the report.
Hmm, the assertion is caused by the leveldown’s native module according to the error message.

I found a similar report on their repos:

It is marked as resolved.
The app is still using leveldown@5.6.0. I will try updating it!

my progress note: