Multiple nw.js process

405 views
Skip to first unread message

Pritesh Gajjar

unread,
Jun 14, 2016, 10:17:28 AM6/14/16
to nw.js
I am using 0.14.5 NW for windows application and I do see multiple nw.js process in taskbar when app start. 

Is this expected behaviour? Do we need to specify any attribute in manifest? I tried single-instance but didn't help.

cong...@gmail.com

unread,
Jun 14, 2016, 9:34:00 PM6/14/16
to nw.js
Since 0.13.0, NW.js will always be running in single instance mode. See http://docs.nwjs.io/en/latest/For%20Users/Migration/From%200.12%20to%200.13/#manifest-format

Multiple icons on taskbar and multiple processes in task manager are different concepts.

For icons on taskbar, it's one icon per window. If you see more than 1 icon, there is more than 1 window on the desktop.

If you refer to the number of process in task manager, NW.js will start with at least 3 processes for one app on Windows like Chrome: browser, renderer and crash handler. That's expected.


在 2016年6月14日星期二 UTC+8下午10:17:28,Pritesh Gajjar写道:
Reply all
Reply to author
Forward
0 new messages