do not exit on lua errors! this would be righteously bad for apps using
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 16 Aug 2009 03:00:14 +0000 (03:00 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 16 Aug 2009 03:00:14 +0000 (03:00 +0000)
themes that happened to use lua...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_lua.c

index d4ca8ce..f5331da 100644 (file)
@@ -164,7 +164,9 @@ _edje_lua_error(lua_State *L, int err_code)
        break;
      }
    fprintf(stderr, "Lua %s error: %s\n", err_type, lua_tostring(L, -1));
-   exit(-1);
+   // don't exit. this is BAD. lua script bugs will cause thngs like e to
+   // exit mysteriously endig your x session. bad!
+   // exit(-1);
 }
 
 lua_State *