mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 21:39:46 +00:00
Fixed a memory leak in the chat component
This commit is contained in:
parent
cf975f2a6c
commit
6dabca4ec5
@ -692,6 +692,7 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
|||||||
|
|
||||||
public async ValueTask DisposeAsync()
|
public async ValueTask DisposeAsync()
|
||||||
{
|
{
|
||||||
|
this.MessageBus.Unregister(this);
|
||||||
if(this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY)
|
if(this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY)
|
||||||
{
|
{
|
||||||
await this.SaveThread();
|
await this.SaveThread();
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# v0.9.27, build 202 (2025-01-xx xx:xx UTC)
|
# v0.9.27, build 202 (2025-01-xx xx:xx UTC)
|
||||||
- Improved the inner content scrolling to use the entire space available.
|
- Improved the inner content scrolling to use the entire space available.
|
||||||
- Fixed the hostname validation message for ERI v1 data sources.
|
- 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.
|
- Removed the "send to" button from the ERI server assistant, since it is not supported.
|
Loading…
Reference in New Issue
Block a user