RetroShare/plugins/FeedReader
jolavillette 774cfda33c feedreader: drop the shutdown restart and the debug traces
The JSON API restart in stop() cost a RESTART_BURST_PROTECTION wait (7s) on
every exit and brought the HTTP server back up in the middle of the core
teardown, republishing resources whose backing services were about to stop.

It was not gratuitous: it made "delete mJsonApiProvider" safe, because the
running restbed service holds the resources this provider returned and their
handlers capture it. libretroshare now stops the JSON API at the top of
rsGlobalShutDown(), before stopPlugins(), so the resources are already gone
by the time stop() runs and the provider can be deleted directly. Without
that companion change this commit would turn a slow shutdown into a
use-after-free, so the two go together.

Also replace the five std::cerr traces with one RsDbg line on success and an
RsInfo when the JSON API is not available, matching how the rest of the tree
reports.
2026-08-28 13:52:27 +02:00
..
gui gui(feedreader): add "Mark all as unread" alongside "Mark all as read" 2026-07-25 13:31:47 +02:00
interface Added API code for FeedReader 2026-08-28 13:52:26 +02:00
lang FeedReader: Updated translation 2025-07-14 00:04:31 +02:00
qss StyleSheet Rewrite 2021-11-04 21:21:54 +01:00
services feedreader: drop the shutdown restart and the debug traces 2026-08-28 13:52:27 +02:00
util Revert "FeedReader: keep XML_TEXT_NODE test to prevent undefined behavior in getContent()" 2026-05-25 11:08:06 +02:00
CMakeLists.txt Added API code for FeedReader 2026-08-28 13:52:26 +02:00
FeedReader.pro Added API code for FeedReader 2026-08-28 13:52:26 +02:00
FeedReaderPlugin.cpp feedreader: drop the shutdown restart and the debug traces 2026-08-28 13:52:27 +02:00
FeedReaderPlugin.h Added API code for FeedReader 2026-08-28 13:52:26 +02:00