mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	cgi/escape is ractor-safe
This commit is contained in:
		
							parent
							
								
									3621380046
								
							
						
					
					
						commit
						c1461c927b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -388,6 +388,10 @@ cgiesc_unescape(int argc, VALUE *argv, VALUE self) | |||
| void | ||||
| Init_escape(void) | ||||
| { | ||||
| #if HAVE_RB_EXT_RACTOR_SAFE | ||||
|     rb_ext_ractor_safe(true); | ||||
| #endif | ||||
| 
 | ||||
|     id_accept_charset = rb_intern_const("@@accept_charset"); | ||||
|     InitVM(escape); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Koichi Sasada
						Koichi Sasada