virgil-e3kit-js icon indicating copy to clipboard operation
virgil-e3kit-js copied to clipboard

No way to close levelup instance

Open camhart opened this issue 5 years ago • 3 comments

There's no way to close the levelup database. I have a situation where multiple instances of my application can be ran at once. I'm having to hack in support for closing the levelup database.

camhart avatar Aug 07 '20 22:08 camhart

Hi @camhart! I suppose we talk about e3kit-node? Method initialize of e3kit instance has groupStorageName optional. Try to add to instance specific name, it's could you help. Here is an example.

dkosolap avatar Aug 10 '20 08:08 dkosolap

How would I then close the level up instance?

On Mon, Aug 10, 2020, 1:32 AM Dmytro Kosolap [email protected] wrote:

Hi @camhart https://github.com/camhart! I suppose we talk about e3kit-node? Method initialize of e3kit instance has groupStorageName https://virgilsecurity.github.io/virgil-e3kit-js/e3kit-native/interfaces/ethreenativeinitializeoptions.html#groupstoragename optional. Try to add to instance specific name, it's could you help. Here is an example https://github.com/VirgilSecurity/virgil-e3kit-js/blob/master/examples/node/index.js#L37-L40 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VirgilSecurity/virgil-e3kit-js/issues/131#issuecomment-671228592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXF4WNVADB3HRK4P5HFV7LR76WATANCNFSM4PYBJUXA .

camhart avatar Aug 10 '20 17:08 camhart

At this moment we don't have such functionality, but in the nearest future we are going to add it. I will let you know when it's ready.

dkosolap avatar Aug 12 '20 13:08 dkosolap

Closing as outdated

rstp-god avatar Jan 12 '23 19:01 rstp-god