mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-23 13:31:11 +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