Nikky
05/19/2021, 5:01 PMpublic suspend fun closeSession() {
// we don't know why this magic is necessary
session?.close()
session?.close(CloseReason(CloseReason.Codes.GOING_AWAY,"Logging out"))
session?.closeReason?.await()
}
but i don't really know why.. and any other order or leaving any of them out seems to not do it properly anymore
could also be something in our spring-webflux backend.. i guesscy
05/20/2021, 10:20 AMNikky
05/20/2021, 12:55 PMNikky
05/20/2021, 12:55 PMhttps://nikky.catgirl.host/i/t2org0zu.png▾
Nikky
05/20/2021, 12:56 PMsession.close()
Nikky
05/20/2021, 1:02 PMCAUTION: request is ongoing
disappears
although i still do not see a close frame in the messages tab.. so maybe it just does not show