Hi, I am using electron and protobuf in my app and encounter this issue, when I get a protobuf Message type object by
getGlobal(), I cannot use the object methods, for example,
myMessage.getSsid() will throw Uncaught TypeError: x.getSsid is not a function. But if I just store a primitive value type like int or string in the
global, then no problems will show up. I have checked that the method name is correct and I can use getSsid() before I store the object into the
Here is the scenario: the main process holds the
global, and windows1 first updates the value of the
global, then windows2 fetches this value. windows2 will throws Uncaught TypeError: x.getSsid is not a function.