make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@71548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
Emotion_Webcam *ew;
+ if (_emotion_webcams_count <= 0)
+ {
+ EINA_LOG_ERR("Init count not greater than 0 in shutdown.");
+ return EINA_FALSE;
+ }
if (--_emotion_webcams_count) return EINA_TRUE;
EINA_LIST_FREE(_emotion_webcams->webcams, ew)