cache lua code load

This commit is contained in:
云风
2013-12-17 18:26:08 +08:00
parent 2bf65084cd
commit 8e031c1b21
5 changed files with 340 additions and 29 deletions

View File

@@ -31,6 +31,7 @@ _logger(struct skynet_context * context, void *ud, int type, int session, uint32
fprintf(inst->handle, "[:%x] ",source);
fwrite(msg, sz , 1, inst->handle);
fprintf(inst->handle, "\n");
fflush(inst->handle);
return 0;
}