Stop the stoppage of service

This commit is contained in:
tripathyr 2021-05-25 14:58:20 +05:30 committed by GitHub
parent 05c6cd7739
commit 0966ec124b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,8 @@ Node.prototype.start = function(callback) {
Node.prototype.stop = function(callback) { Node.prototype.stop = function(callback) {
log.info('Beginning shutdown'); log.info('Beginning shutdown');
var self = this; //Flosight Error fix by RanchiMall May 25 2021: Node must not stop under any circumstance
/* var self = this;
var services = this._getServiceOrder(this._unloadedServices).reverse(); var services = this._getServiceOrder(this._unloadedServices).reverse();
this.stopping = true; this.stopping = true;
@ -226,7 +227,7 @@ Node.prototype.stop = function(callback) {
if (callback) { if (callback) {
callback(); callback();
} }
}); }); */
}; };
module.exports = Node; module.exports = Node;