mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix hang on partial deploy with disconnected mqtt node
This commit is contained in:
		| @@ -143,8 +143,11 @@ module.exports = function(RED) { | ||||
|                 return done(); | ||||
|             } | ||||
|             if (Object.keys(node.users).length === 0) { | ||||
|                 if (node.client) { | ||||
|                 if (node.client && node.client.connected) { | ||||
|                     return node.client.end(done); | ||||
|                 } else { | ||||
|                     node.client.end(); | ||||
|                     done(); | ||||
|                 } | ||||
|             } | ||||
|             done(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user