mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-28 11:31:53 +01:00 
			
		
		
		
	fixed GH #1316: Empty SocketReactor never sleeps
This commit is contained in:
		| @@ -104,7 +104,7 @@ void SocketReactor::run() | ||||
| 			if (nSockets == 0) | ||||
| 			{ | ||||
| 				onIdle(); | ||||
| 				Thread::trySleep(_timeout.milliseconds()); | ||||
| 				Thread::trySleep(_timeout.totalMilliseconds()); | ||||
| 			} | ||||
| 			else if (Socket::select(readable, writable, except, _timeout)) | ||||
| 			{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Guenter Obiltschnig
					Guenter Obiltschnig