You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we uncomment the await db.ready() in the code, then everything will ok.
The text was updated successfully, but these errors were encountered:
huan
changed the title
Race-Condition of the new ready() mechanism cause memory-leak
Memory-leak if we call db.close() right after new SnapDB() without db.ready()Aug 15, 2019
According to the fix of #2, I believe we also need to put some code inside the
close()
function.The following code will demonstrate that the node program will hang.
If we uncomment the
await db.ready()
in the code, then everything will ok.The text was updated successfully, but these errors were encountered: