From dd22cc7527049e6fa4d1a095a8fcd4ebffeaabd4 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Mon, 8 Jul 2019 15:18:38 +0200 Subject: C#: Fix some crashes during assemblies reloading --- modules/mono/csharp_script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/mono/csharp_script.h') diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h index d31a1c35d2..76c7976285 100644 --- a/modules/mono/csharp_script.h +++ b/modules/mono/csharp_script.h @@ -144,6 +144,7 @@ class CSharpScript : public Script { // Do not use unless you know what you are doing friend void GDMonoInternals::tie_managed_to_unmanaged(MonoObject *, Object *); static Ref create_for_managed_type(GDMonoClass *p_class, GDMonoClass *p_native); + static void initialize_for_managed_type(Ref p_script, GDMonoClass *p_class, GDMonoClass *p_native); protected: static void _bind_methods(); -- cgit v1.2.3