mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
markref冲突时候刷新 cache
This commit is contained in:
@@ -353,12 +353,10 @@ markref(struct ssm_ref *r, TString *s, int changeref) {
|
||||
if (changeref)
|
||||
DEC_SREF(s);
|
||||
return;
|
||||
} else {
|
||||
insert_ref(r, s);
|
||||
}
|
||||
} else {
|
||||
r->hash[slot] = s;
|
||||
insert_ref(r, hs);
|
||||
}
|
||||
r->hash[slot] = s;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user