monitor/REST_handle.js
function (ports) {
	
	var port = ports[0];

	var list = '';
	for (var i=0; i < ports.length; i++) {
		list += (ports[i] + ', ');
		delete l_ports[ports[i]];
	}

	LOG.warn('release ports: ' + list, 'SR.Monitor');
	
	// remove all other ports associated with this port
	for (var i in l_ports) {
		if (l_ports[i] === port) {
			LOG.warn('release port: ' + i, 'SR.Monitor');
			delete l_ports[i];
		}
	}
}
function (ports) {
	
	var port = ports[0];

	var list = '';
	for (var i=0; i < ports.length; i++) {
		list += (ports[i] + ', ');
		delete l_ports[ports[i]];
	}

	LOG.warn('release ports: ' + list, 'SR.Monitor');
	
	// remove all other ports associated with this port
	for (var i in l_ports) {
		if (l_ports[i] === port) {
			LOG.warn('release port: ' + i, 'SR.Monitor');
			delete l_ports[i];
		}
	}
}
function ( ports ) { var port = ports [ 0 ] ; var list = '' ; for ( var i = 0 ; i < ports . length ; i ++ ) { list += ( ports [ i ] + ', ' ) ; delete l_ports [ ports [ i ] ] ; } LOG . warn ( 'release ports: ' + list , 'SR.Monitor' ) ; // remove all other ports associated with this port for ( var i in l_ports ) { if ( l_ports [ i ] === port ) { LOG . warn ( 'release port: ' + i , 'SR.Monitor' ) ; delete l_ports [ i ] ; } } }
recycle an app port
recycle an app port