mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
fix sharedata emptyslot
This commit is contained in:
@@ -253,6 +253,7 @@ fillcolliding(lua_State *L, struct context *ctx) {
|
|||||||
for (i=emptyslot;i<sizehash;i++) {
|
for (i=emptyslot;i<sizehash;i++) {
|
||||||
if (tbl->hash[i].valuetype == VALUETYPE_NIL) {
|
if (tbl->hash[i].valuetype == VALUETYPE_NIL) {
|
||||||
n = &tbl->hash[i];
|
n = &tbl->hash[i];
|
||||||
|
emptyslot = i + 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user