1. abort on invalid stringshared del's - bad stuff and should be trapped.

2. disable module cleaning for now.


SVN revision: 29842
This commit is contained in:
Carsten Haitzler 2007-05-04 08:18:07 +00:00
parent 2a090ac94b
commit ecb6a65a69
2 changed files with 4 additions and 0 deletions

View File

@ -117,4 +117,5 @@ evas_stringshare_del(const char *str)
}
}
printf("EEEK trying to del non-shared stringshare \"%s\"\n", str);
abort();
}

View File

@ -405,6 +405,9 @@ evas_module_clean(void)
}
if (noclean == 1) return;
/* disable module cleaning for now - may cause instability with some modules */
return;
/* incriment use counter = 28bits */
use_count++;
if (use_count > 0x0fffffff) use_count = 0;