Fix MessageChainBuilder.clear not clearing caches; fix #1538

This commit is contained in:
Karlatemp 2021-09-10 12:56:12 +08:00
parent 16ad3bc042
commit b451dfaf96
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -204,6 +204,7 @@ public class MessageChainBuilder private constructor(
}
public override fun clear() {
cache.setLength(0)
return container.clear()
}