1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Removed lots of prints

This commit is contained in:
Daniel J. Ramirez
2016-06-18 18:01:06 -05:00
parent 2ca331d959
commit 422fac5066
7 changed files with 2 additions and 34 deletions

View File

@@ -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