error on untraced time

This commit is contained in:
云风
2013-09-18 16:55:30 +08:00
parent e5e73c2efe
commit 5feaf9f593

View File

@@ -88,6 +88,12 @@ _cb(struct skynet_context * context, void * ud, int type, int session, uint32_t
int r = lua_pcall(L, 5, 0 , trace);
_stat_end(S, &ti);
struct trace_info *tti = trace_yield(S->trace);
if (tti) {
skynet_error(context, "Untraced time %f", trace_delete(S->trace, tti));
}
if (r == LUA_OK) {
if (S->lua->reload) {
skynet_callback(context, NULL, 0);