fix: 删除performThink中孤儿muUnlock
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user