godot/modules/mono/glue
Adam Cigánek f25240cfe6 Set current SynchronizationContext before the game loop starts
This fixes the problem that `SynchronizationContext.Current` would be null
during the call to `_EnterTree`, `_Ready` and the first call to `_Process` thus
the task continuations would be scheduled outside the main thread, which is unexpected and might lead to crashes.

With this change, task continuations are scheduled always on the main thread and so async/await can be used without any explicit synchronization, which is what is expected.

Fixes #18849
2018-05-15 15:09:40 +02:00
..
cs_files Set current SynchronizationContext before the game loop starts 2018-05-15 15:09:40 +02:00
builtin_types_glue.h Mono: Fix NodePath and RID bindings 2018-01-25 23:46:54 +01:00
glue_header.h Mono: Fix NodePath and RID bindings 2018-01-25 23:46:54 +01:00