Fixed a memory leak in the chat component

This commit is contained in:
Thorsten Sommer 2025-01-21 15:29:30 +01:00
parent cf975f2a6c
commit 6dabca4ec5
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 0 deletions

View File

@ -692,6 +692,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
public async ValueTask DisposeAsync()
{
this.MessageBus.Unregister(this);
if(this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY)
{
await this.SaveThread();

View File

@ -1,4 +1,5 @@
# v0.9.27, build 202 (2025-01-xx xx:xx UTC)
- Improved the inner content scrolling to use the entire space available.
- Fixed the hostname validation message for ERI v1 data sources.
- Fixed a memory leak in the chat component.
- Removed the "send to" button from the ERI server assistant, since it is not supported.