mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Linux: Remove DCHECK hit when initializing CEF from a non-main thread (issue #1639)
This commit is contained in:
		
							
								
								
									
										13
									
								
								patch/patches/process_title_1639.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								patch/patches/process_title_1639.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
diff --git set_process_title.cc set_process_title.cc
 | 
			
		||||
index 229524e..86559f6 100644
 | 
			
		||||
--- set_process_title.cc
 | 
			
		||||
+++ set_process_title.cc
 | 
			
		||||
@@ -42,7 +42,7 @@ void SetProcessTitleFromCommandLine(const char** main_argv) {
 | 
			
		||||
   bool have_argv0 = false;
 | 
			
		||||
 
 | 
			
		||||
 #if defined(OS_LINUX)
 | 
			
		||||
-  DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
 | 
			
		||||
+  //DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
 | 
			
		||||
 
 | 
			
		||||
   if (main_argv)
 | 
			
		||||
     setproctitle_init(main_argv);
 | 
			
		||||
		Reference in New Issue
	
	Block a user