|  | @@ -348,6 +348,11 @@ struct mg_callbacks {
 | 
											
												
													
														|  |  	     ctx: context handle */
 |  |  	     ctx: context handle */
 | 
											
												
													
														|  |  	void (*init_context)(const struct mg_context *ctx);
 |  |  	void (*init_context)(const struct mg_context *ctx);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +	/* Called when civetweb context is deleted.
 | 
											
												
													
														|  | 
 |  | +	Parameters:
 | 
											
												
													
														|  | 
 |  | +	ctx: context handle */
 | 
											
												
													
														|  | 
 |  | +	void(*exit_context)(const struct mg_context *ctx);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  	/* Called when a new worker thread is initialized.
 |  |  	/* Called when a new worker thread is initialized.
 | 
											
												
													
														|  |  	 * Parameters:
 |  |  	 * Parameters:
 | 
											
												
													
														|  |  	 *   ctx: context handle
 |  |  	 *   ctx: context handle
 | 
											
										
											
												
													
														|  | @@ -376,10 +381,6 @@ struct mg_callbacks {
 | 
											
												
													
														|  |  	                    int thread_type,
 |  |  	                    int thread_type,
 | 
											
												
													
														|  |  	                    void *thread_pointer);
 |  |  	                    void *thread_pointer);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -	/* Called when civetweb context is deleted.
 |  | 
 | 
											
												
													
														|  | -	   Parameters:
 |  | 
 | 
											
												
													
														|  | -	     ctx: context handle */
 |  | 
 | 
											
												
													
														|  | -	void (*exit_context)(const struct mg_context *ctx);
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	/* Called when initializing a new connection object.
 |  |  	/* Called when initializing a new connection object.
 | 
											
												
													
														|  |  	 * Can be used to initialize the connection specific user data
 |  |  	 * Can be used to initialize the connection specific user data
 |