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
I use nw.Window.open to open a popup window in nw0.54. Popup window and main window have the same 'window.global' object
But when I upgrade to nw0.81, window.global is not shared
I fix this problem by use nw.Window.open callback like childWindow.window.global = window.global, but I don't think it's a good fix function. Do I have another function to share window.global?
Then I meet another problem, I export a single instance in Q.ts like export = new TokenManager(). TokenManger have a object called tokenMap, tokenMap have different value between main window and popup window, but in nw0.54, it's same
The text was updated successfully, but these errors were encountered:
I use nw.Window.open to open a popup window in nw0.54. Popup window and main window have the same 'window.global' object
But when I upgrade to nw0.81, window.global is not shared
I fix this problem by use nw.Window.open callback like
childWindow.window.global = window.global
, but I don't think it's a good fix function. Do I have another function to sharewindow.global
?Then I meet another problem, I export a single instance in Q.ts like
export = new TokenManager()
. TokenManger have a object calledtokenMap
,tokenMap
have different value between main window and popup window, but in nw0.54, it's sameThe text was updated successfully, but these errors were encountered: