Files
Folo/apps/desktop/layer/renderer
Innei b927383e93 fix(ai): should stop when switch session
- Changed the `destroy` method in `ZustandChat` to be asynchronous, ensuring proper cleanup with `await`.
- Updated `newChat` and `switchToChat` actions to await the destruction of the old chat instance before creating a new one.
- Initialized `#eventEmitter`, `#status`, and `#error` in `ZustandChatState` constructor for better state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 16:25:38 +08:00
..
2025-07-14 21:36:04 +08:00
2025-10-22 17:22:44 +08:00