mirror of
				https://github.com/aler9/gortsplib
				synced 2025-11-01 02:52:36 +08:00 
			
		
		
		
	fix crash
This commit is contained in:
		| @@ -860,7 +860,7 @@ func (sc *ServerConn) backgroundRecord() { | ||||
|  | ||||
| 				if now.Sub(last) >= sc.conf.ReadTimeout { | ||||
| 					atomic.StoreInt32(sc.udpTimeout, 1) | ||||
| 					sc.Close() | ||||
| 					sc.nconn.Close() | ||||
| 					return | ||||
| 				} | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 aler9
					aler9