core/app_connector.js
function (conn) {
        
		LOG.error('AppManager disconnected', 'SR.AppConnector');
		
		if (SR.Settings.APPSERVER_AUTOSHUT === true) {
		
			// shutdown this frontier
			l_dispose();
			SR.Settings.FRONTIER.dispose();
		}
		else {
			LOG.warn('auto-shutdown is false, attempt to re-connect AppManager in ' + l_timeoutReconnect + ' ms...');

			// keep app server alive and try to re-connect if lobby shuts down
			setTimeout(l_connect, l_timeoutReconnect);
		}
    }
function (conn) {
        
		LOG.error('AppManager disconnected', 'SR.AppConnector');
		
		if (SR.Settings.APPSERVER_AUTOSHUT === true) {
		
			// shutdown this frontier
			l_dispose();
			SR.Settings.FRONTIER.dispose();
		}
		else {
			LOG.warn('auto-shutdown is false, attempt to re-connect AppManager in ' + l_timeoutReconnect + ' ms...');

			// keep app server alive and try to re-connect if lobby shuts down
			setTimeout(l_connect, l_timeoutReconnect);
		}
    }
function ( conn ) { LOG . error ( 'AppManager disconnected' , 'SR.AppConnector' ) ; if ( SR . Settings . APPSERVER_AUTOSHUT === true ) { // shutdown this frontier l_dispose ( ) ; SR . Settings . FRONTIER . dispose ( ) ; } else { LOG . warn ( 'auto-shutdown is false, attempt to re-connect AppManager in ' + l_timeoutReconnect + ' ms...' ) ; // keep app server alive and try to re-connect if lobby shuts down setTimeout ( l_connect , l_timeoutReconnect ) ; } }
custom handling for removing a connection
custom handling for removing a connection