core: Testing a theory to encourage clean shutdowns.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build Tilde Friends / Build-All (push) Successful in 15m30s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build Tilde Friends / Build-All (push) Successful in 15m30s
				
			This commit is contained in:
		| @@ -21,7 +21,7 @@ typedef struct _tf_ssb_connections_t | ||||
|  | ||||
| static void _tf_ssb_connections_changed_callback(tf_ssb_t* ssb, tf_ssb_change_t change, tf_ssb_connection_t* connection, void* user_data) | ||||
| { | ||||
| 	if (!connection) | ||||
| 	if (!connection || tf_ssb_is_shutting_down(ssb)) | ||||
| 	{ | ||||
| 		return; | ||||
| 	} | ||||
|   | ||||
| @@ -1869,6 +1869,7 @@ void tf_task_destroy(tf_task_t* task) | ||||
| 	{ | ||||
| 		JSValue global = JS_GetGlobalObject(task->_context); | ||||
| 		JS_SetPropertyStr(task->_context, global, "httpd", JS_UNDEFINED); | ||||
| 		JS_SetPropertyStr(task->_context, global, "gProcesses", JS_NewObject(task->_context)); | ||||
| 		JS_FreeValue(task->_context, global); | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user