prevent infinte recursion when closing a websocket in case of SSL errors
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 3 Sep 2021 18:01:04 +0000 (20:01 +0200)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Tue, 7 Sep 2021 07:09:43 +0000 (07:09 +0000)
commit95e3ecfd3c75fa8917995488e8c9539f4643d29f
treed78881d2af4670899b6b71c356f76903906dc1a0
parent46f7d078897c3c08bd6af73608ccff2da48fcb82
prevent infinte recursion when closing a websocket in case of SSL errors

the slots connected to the web socket can be called even during close
and lead to infinite calls to close -> error slot -> close -> ...

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/pushnotifications.cpp