Properly close websocket connections.

This commit is contained in:
Webifi 2023-07-28 18:10:45 -05:00
parent bb2a177f22
commit c473d731ce
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ export const runPetalsCompletionRequest = async (
}
chatRequest.updating = false
chatRequest.updatingMessage = ''
ws.close()
})
ws.onopen = () => {
ws.send(JSON.stringify({