Merge pull request #2 from knocte/micro_optimization
micro-optimization: return early after setting guithread
This commit is contained in:
commit
2808b49059
1 changed files with 1 additions and 0 deletions
|
@ -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