Base structure for vnc plugin.

This commit is contained in:
Simo Kinnunen
2015-09-07 10:49:41 +09:00
parent 99b78ff8cb
commit 87e80ecb00
4 changed files with 20 additions and 1 deletions

View File

@@ -316,7 +316,7 @@ module.exports = function(options) {
// Spawn a device worker
function spawn() {
var allocatedPorts = ports.splice(0, 2)
var allocatedPorts = ports.splice(0, 4)
, proc = options.fork(device, allocatedPorts)
, resolver = Promise.defer()