MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / remove_error_handler

Function remove_error_handler

core/error/error_macros.cpp:82–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void remove_error_handler(const ErrorHandlerList *p_handler) {
83 _global_lock();
84
85 ErrorHandlerList *prev = nullptr;
86 ErrorHandlerList *l = error_handler_list;
87
88 while (l) {
89 if (l == p_handler) {
90 if (prev) {
91 prev->next = l->next;
92 } else {
93 error_handler_list = l->next;
94 }
95 break;
96 }
97 prev = l;
98 l = l->next;
99 }
100
101 _global_unlock();
102}
103
104// Errors without messages.
105void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_editor_notify, ErrorHandlerType p_type) {

Callers 8

execute_test_codeMethod · 0.85
~RemoteDebuggerMethod · 0.85
add_error_handlerFunction · 0.85
deinitMethod · 0.85
_update_previewMethod · 0.85
~EditorToasterMethod · 0.85
finalize_coreMethod · 0.85
~ErrorDetectorMethod · 0.85

Calls 2

_global_lockFunction · 0.85
_global_unlockFunction · 0.85

Tested by 2

execute_test_codeMethod · 0.68
~ErrorDetectorMethod · 0.68