projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f77d64
)
lua-utils: can't call mrp_lua_get_lua_state, pulls in core.
v0.0.39
author
Krisztian Litkey
<kli@iki.fi>
Fri, 22 Nov 2013 14:20:18 +0000
(16:20 +0200)
committer
Krisztian Litkey
<kli@iki.fi>
Fri, 22 Nov 2013 14:36:26 +0000
(16:36 +0200)
src/core/lua-utils/object.c
patch
|
blob
|
history
diff --git
a/src/core/lua-utils/object.c
b/src/core/lua-utils/object.c
index
46438a9
..
d995082
100644
(file)
--- a/
src/core/lua-utils/object.c
+++ b/
src/core/lua-utils/object.c
@@
-2454,22
+2454,6
@@
void mrp_lua_dump_objects(mrp_lua_tostr_mode_t mode, lua_State *L, FILE *fp)
}
-static void MRP_EXIT cleanup_check(void)
-{
- lua_State *L;
-
- if ((L = mrp_lua_get_lua_state()) == NULL) {
- mrp_log_error("Failed to get Lua state, can't dump objects.");
- return;
- }
-
- if (cfg.track) {
- lua_gc(L, LUA_GCCOLLECT, 0);
- mrp_lua_dump_objects(MRP_LUA_TOSTR_CHECKDUMP, L, stdout);
- }
-}
-
-
/*
* Local Variables:
* c-basic-offset: 4