You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #5283 from djrm/remove_prints
Removed lots of prints
This commit is contained in:
@@ -44,18 +44,15 @@ void add_print_handler(PrintHandlerList *p_handler) {
|
||||
|
||||
void remove_print_handler(PrintHandlerList *p_handler) {
|
||||
|
||||
OS::get_singleton()->print("pre-removing print handler...\n");
|
||||
_global_lock();
|
||||
|
||||
PrintHandlerList *prev = NULL;
|
||||
PrintHandlerList *l = print_handler_list;
|
||||
|
||||
OS::get_singleton()->print("removing print handler...\n");
|
||||
while(l) {
|
||||
|
||||
if (l==p_handler) {
|
||||
|
||||
OS::get_singleton()->print("found\n");
|
||||
if (prev)
|
||||
prev->next=l->next;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user