diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2024-06-03 11:20:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 11:20:50 +0200 |
| commit | ef886b0a415ecb1fda3338230b270d62e1d086e5 (patch) | |
| tree | 3a1892f99888354f6cd8ee01c1d826145d0da15d /core/object | |
| parent | 482e45c62bf6d68978bbd871d262a972f6818698 (diff) | |
| parent | f61c63e3a1d525ccc204f64ad813c4ba77077468 (diff) | |
| download | redot-engine-ef886b0a415ecb1fda3338230b270d62e1d086e5.tar.gz | |
Merge pull request #92426 from RandomShaper/fix_ed_toast_mt
Avoid editor error reporting using resource loader thread's call queues
Diffstat (limited to 'core/object')
| -rw-r--r-- | core/object/message_queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/message_queue.h b/core/object/message_queue.h index 9f567e4dd0..673eb3845b 100644 --- a/core/object/message_queue.h +++ b/core/object/message_queue.h @@ -164,6 +164,7 @@ class MessageQueue : public CallQueue { public: _FORCE_INLINE_ static CallQueue *get_singleton() { return thread_singleton ? thread_singleton : main_singleton; } + _FORCE_INLINE_ static CallQueue *get_main_singleton() { return main_singleton; } static void set_thread_singleton_override(CallQueue *p_thread_singleton); |
