This turned out to break a lot of things in the engine unexpectedly. The actual deadlock that this fixes seems rare so a better approach is needed. For 4.7 we should drop this one. This reverts commit ae564feb2a. This reverts commit 7ab8328204.
ae564feb2a
7ab8328204
callable_method_pointer.h
callable_mp.h
create_instance3
new
ClassDB
GDType
core
node.h
scene_tree.h
method_bind_common.h
method_bind.h
clangd-tidy
HashMapHasherDefault
Object::is_class
StringName
memdelete(gdtype)
GDCLASS
GDSOFTCLASS
class_db.h
gdvirtual.gen.inc
script_instance.h
ScriptLanguage::instance_has