mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix message queue issues
- Missing flush in resource loading. - Wrong checks about message queue instance.
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
class Object;
|
||||
|
||||
class CallQueue {
|
||||
friend class MessageQueue;
|
||||
|
||||
public:
|
||||
enum {
|
||||
PAGE_SIZE_BYTES = 4096
|
||||
@@ -75,6 +77,10 @@ private:
|
||||
uint32_t pages_used = 0;
|
||||
bool flushing = false;
|
||||
|
||||
#ifdef DEV_ENABLED
|
||||
bool is_current_thread_override = false;
|
||||
#endif
|
||||
|
||||
struct Message {
|
||||
Callable callable;
|
||||
int16_t type;
|
||||
|
||||
Reference in New Issue
Block a user