mirror of
				https://github.com/Pablo2048/modbus-rtu-master.git
				synced 2025-10-31 16:11:51 +01:00 
			
		
		
		
	Missing reader.cancel() call.
This commit is contained in:
		| @@ -40,6 +40,7 @@ class ModbusRTUMaster { | ||||
|         console.log('Disconnect requested'); | ||||
|         try { | ||||
|             if (this.reader) { | ||||
|                 await this.reader.cancel(); | ||||
|                 await this.reader.releaseLock(); | ||||
|                 this.reader = null; | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user