mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-29 11:03:59 +01:00
parent
21da7342eb
commit
9fedb3f169
|
@ -89,6 +89,8 @@ const useSubmit = () => {
|
||||||
} else {
|
} else {
|
||||||
reader.cancel('Generation completed');
|
reader.cancel('Generation completed');
|
||||||
}
|
}
|
||||||
|
reader.releaseLock();
|
||||||
|
stream.cancel();
|
||||||
}
|
}
|
||||||
} catch (e: unknown) {
|
} catch (e: unknown) {
|
||||||
const err = (e as Error).message;
|
const err = (e as Error).message;
|
||||||
|
|
Loading…
Reference in a new issue