We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e98f52 + b9e2c67 commit 544c414Copy full SHA for 544c414
internal/server/scripts.go
@@ -85,6 +85,7 @@ func (pl *lStatePool) Prune() {
85
newSaved := make([]*lua.LState, n-dropNum)
86
copy(newSaved, pl.saved[dropNum:])
87
pl.saved = newSaved
88
+ pl.total -= dropNum
89
}
90
pl.m.Unlock()
91
0 commit comments