1
0
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:
Rémi Verschelde
2016-06-19 13:10:23 +02:00
committed by GitHub
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