I think that's all the leaks accounted for though not yet fixed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4799 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -67,11 +67,8 @@ function socket(request, response, client) { | ||||
| 		if (process && process.task) { | ||||
| 			process.task.kill(); | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	response.onError = async function(error) { | ||||
| 		if (process && process.task) { | ||||
| 			process.task.kill(); | ||||
| 		if (process) { | ||||
| 			process.timeout = 0; | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| @@ -157,7 +154,7 @@ function socket(request, response, client) { | ||||
| 						process.lastPing = now; | ||||
| 					} | ||||
|  | ||||
| 					if (again) { | ||||
| 					if (again && process.timeout) { | ||||
| 						setTimeout(ping, process.timeout); | ||||
| 					} | ||||
| 				} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user