mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 13:04:53 +00:00 
			
		
		
		
	Merge pull request #2 from knocte/micro_optimization
micro-optimization: return early after setting guithread
This commit is contained in:
		
						commit
						2808b49059
					
				| 
						 | 
				
			
			@ -62,6 +62,7 @@ simple_method_enter (MonoProfiler *prof, MonoMethod *method)
 | 
			
		|||
			guithread_set = TRUE;
 | 
			
		||||
			guithread = current_thread_id;
 | 
			
		||||
			printf ("*** GUI THREAD INITIALIZED: %u\n", guithread); 
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
		if (!guithread_set) {
 | 
			
		||||
			return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue