fix: 删除performThink中孤儿muUnlock

This commit is contained in:
2026-06-28 17:22:30 +08:00
parent d63322244c
commit 236dbfcc92
@@ -1096,7 +1096,6 @@ func (t *Thinker) performThink(triggerReason string) {
t.setLastThink(t.lastThinkTime) t.setLastThink(t.lastThinkTime)
t.incThinkCount() t.incThinkCount()
currentCount := t.thinkCount() currentCount := t.thinkCount()
t.muUnlock()
ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second) ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second)
defer cancel() defer cancel()