mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 07:23:18 +02:00
Merge pull request #88 from knocte/guithreadcheck_whitelist
gui-thread-check: add two more methods to the whitelist
This commit is contained in:
commit
78fd18e0b7
@ -72,9 +72,11 @@ simple_method_enter (MonoProfiler *prof, MonoMethod *method)
|
|||||||
}
|
}
|
||||||
if (current_thread_id != guithread &&
|
if (current_thread_id != guithread &&
|
||||||
!(strcmp (klass_name, "Object")==0 && strcmp (method_name, "Dispose")==0) &&
|
!(strcmp (klass_name, "Object")==0 && strcmp (method_name, "Dispose")==0) &&
|
||||||
|
!(strcmp (klass_name, "Widget")==0 && strcmp (method_name, "Dispose")==0) &&
|
||||||
!(strcmp (klass_name, "Application")==0 && strcmp (method_name, "Invoke")==0) &&
|
!(strcmp (klass_name, "Application")==0 && strcmp (method_name, "Invoke")==0) &&
|
||||||
!(strcmp (method_name, "Finalize")==0) &&
|
!(strcmp (method_name, "Finalize")==0) &&
|
||||||
!(strcmp (method_name, "get_NativeDestroyHandler")==0) &&
|
!(strcmp (method_name, "get_NativeDestroyHandler")==0) &&
|
||||||
|
!(strcmp (method_name, "remove_InternalDestroyed")==0) &&
|
||||||
!(strcmp (method_name, "remove_Destroyed")==0)
|
!(strcmp (method_name, "remove_Destroyed")==0)
|
||||||
) {
|
) {
|
||||||
printf ("*** GTK CALL NOT IN GUI THREAD: %s.%s\n", klass_name, method_name);
|
printf ("*** GTK CALL NOT IN GUI THREAD: %s.%s\n", klass_name, method_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user