index.js
function stopListening() {
	if (!state.listening) return EjsElectron // we're not listening; nothing to stop here

	protocol.uninterceptProtocol('file')
	state.listening = false
	return EjsElectron
}
function stopListening() {
	if (!state.listening) return EjsElectron // we're not listening; nothing to stop here

	protocol.uninterceptProtocol('file')
	state.listening = false
	return EjsElectron
}
/*
EjsElectron.stopListening() -- Stop intercepting requests, restoring the original 'file:' protocol handler.