Files
Erik Michelson b37fdae2be fix(realtime): new check for socket clean-up, fix duplicate check
When a client disconnects, there was a check for duplicated sockets in the queue.
This check would never have worked, since the arguments were swapped. A bug that
easily could have been found using TypeScript.

Another possible bug is that when loading a note, we differentiate between two cases:
Either the note is already cached in memory, or it is loaded from the database.
In the latter case, we added a null-safe check recently to ensure that cleaned-up
sockets do not crash HedgeDoc. However, in the case of using the in-memory cached
note entry, this null-check was missing.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-04-29 13:14:41 +02:00
..
2025-02-01 21:12:08 +01:00
2019-05-31 00:30:29 +02:00
2021-04-25 20:06:56 +02:00