godot/modules/mono/glue/cs_files
Adam Cigánek b95cc40640 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

(cherry picked from commit f25240cfe6)
2018-06-01 18:07:32 +02:00
..
AABB.cs #18051: Fix indentation issues introduced during clean up 2018-04-29 13:40:15 +02:00
Basis.cs mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis 2018-06-01 18:05:28 +02:00
Color.cs mono: New Color methods: Darkened, Lightened and ToRgba32 2018-06-01 17:45:49 +02:00
DebuggingUtils.cs #18051: Do not use var in a for-loop, or where type is not obvious 2018-04-29 13:40:09 +02:00
ExportAttribute.cs Mono: Make the bindings generator output enums 2017-12-24 04:20:41 +01:00
GD.cs #18051: Fix indentation issues introduced during clean up 2018-04-29 13:40:15 +02:00
GodotMethodAttribute.cs #18051: Remove redundant casts and 'using', 'else', 'this' statements 2018-04-29 13:38:58 +02:00
GodotSynchronizationContext.cs #18051: Remove redundant casts and 'using', 'else', 'this' statements 2018-04-29 13:38:58 +02:00
GodotTaskScheduler.cs Set current SynchronizationContext before the game loop starts 2018-06-01 18:07:32 +02:00
IAwaitable.cs Added mono module 2017-10-03 00:01:26 +02:00
IAwaiter.cs #18051: Remove redundant casts and 'using', 'else', 'this' statements 2018-04-29 13:38:58 +02:00
MarshalUtils.cs #18051: Do not use var in a for-loop, or where type is not obvious 2018-04-29 13:40:09 +02:00
Mathf.cs Remove duplicated declaration of RoundToInt() from Mathf 2018-04-29 14:15:09 +02:00
MathfEx.cs [Mono] Improve Mathf 2018-04-15 00:57:14 +02:00
Plane.cs mono: Plane, expose Normal, and D 2018-06-01 17:44:56 +02:00
Quat.cs #18051: Remove redundant parenthesis 2018-04-29 13:39:28 +02:00
Rect2.cs #18051: Remove redundant parenthesis 2018-04-29 13:39:28 +02:00
RPCAttributes.cs Added mono module 2017-10-03 00:01:26 +02:00
SignalAttribute.cs #18051: Remove redundant casts and 'using', 'else', 'this' statements 2018-04-29 13:38:58 +02:00
SignalAwaiter.cs #18051: Remove redundant casts and 'using', 'else', 'this' statements 2018-04-29 13:38:58 +02:00
StringExtensions.cs Fix index out of range error in string.Extension() 2018-06-01 17:37:43 +02:00
ToolAttribute.cs Convert DOS line endings to Unix line endings 2017-11-05 11:37:59 +01:00
Transform2D.cs #18051: Fix indentation issues introduced during clean up 2018-04-29 13:40:15 +02:00
Transform.cs #18051: Remove redundant parenthesis 2018-04-29 13:39:28 +02:00
Vector2.cs mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis 2018-06-01 18:05:28 +02:00
Vector3.cs mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis 2018-06-01 18:05:28 +02:00
VERSION.txt mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis 2018-06-01 18:05:28 +02:00