diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-09-28 15:42:55 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-10-08 16:22:24 +0200 |
commit | 034c0f1624dbdc8fd2460cda148ac90f5fd53198 (patch) | |
tree | ca13af3a8366291d2a8a08695165fcd7b7889a42 /core/object/message_queue.cpp | |
parent | 6916349697a4339216469e9bf5899b983d78db07 (diff) | |
download | redot-engine-034c0f1624dbdc8fd2460cda148ac90f5fd53198.tar.gz |
Replace `sanity` with `safety` for checks
Diffstat (limited to 'core/object/message_queue.cpp')
-rw-r--r-- | core/object/message_queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object/message_queue.cpp b/core/object/message_queue.cpp index 506f8291eb..de71295ee5 100644 --- a/core/object/message_queue.cpp +++ b/core/object/message_queue.cpp @@ -36,7 +36,7 @@ #include "core/object/script_language.h" #ifdef DEV_ENABLED -// Includes sanity checks to ensure that a queue set as a thread singleton override +// Includes safety checks to ensure that a queue set as a thread singleton override // is only ever called from the thread it was set for. #define LOCK_MUTEX \ if (this != MessageQueue::thread_singleton) { \ @@ -537,7 +537,7 @@ CallQueue::~CallQueue() { if (!allocator_is_custom) { memdelete(allocator); } - // This is done here to avoid a circular dependency between the sanity checks and the thread singleton pointer. + // This is done here to avoid a circular dependency between the safety checks and the thread singleton pointer. if (this == MessageQueue::thread_singleton) { MessageQueue::thread_singleton = nullptr; } |