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
Create db in main process, and share with global.db = linvodbInstance. But this will broke the prototype and functions in linvodb when call remote.getGlobal('db') in renderer process.
Create db in renderer process. But it seems that the same db can't be created in multi process. The later instance can't get any data as the db.find({}, callback) callback never called.
The text was updated successfully, but these errors were encountered:
I have tried two methods.
global.db = linvodbInstance
. But this will broke the prototype and functions in linvodb when callremote.getGlobal('db')
in renderer process.db.find({}, callback)
callback never called.The text was updated successfully, but these errors were encountered: