mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-18 20:29:46 +02: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 New Issue
Block a user