Files
proton-bridge/internal
Leander Beernaert e6b312b437 fix(GODT-2949): Fix close of close channel in event service
This issue is triggered due to the `Service.Close()` call after the
go-routine for the event service exists. It is possible that during this
period a recently added subscriber with `pendingOpAdd` gets cancelled
and closed.

However, the subscriber later also enqueues a `pendingOpRemove` which
gets processed again with a call in `user.eventService.Close()` leading
to the double close panic.

This patch simply removes the `s.Close()` from the service, and leaves
the cleanup to called externally from user.Close() or user.Logout().
2023-09-26 13:58:07 +02:00
..
2023-08-28 11:23:41 +02:00
2023-01-02 11:09:11 +01:00
2023-06-05 14:07:39 +02:00
2023-08-23 16:12:19 +02:00
2023-01-02 11:09:11 +01:00
2023-06-05 13:48:56 +02:00
2023-03-08 11:57:19 +01:00