From 2d6ca44aa5f97d870cb349941df1f05a5ec3ca16 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 18 Apr 2018 23:28:45 +0200 Subject: [PATCH] Document issues in LibSyncthing::{stop,restart}Syncthing() --- libsyncthing/interface.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsyncthing/interface.cpp b/libsyncthing/interface.cpp index 34a2341..27a60f1 100644 --- a/libsyncthing/interface.cpp +++ b/libsyncthing/interface.cpp @@ -186,6 +186,8 @@ bool isSyncthingRunning() /*! * \brief Stops Syncthing if it is running; otherwise does nothing. * \returns Might be called from any thread. + * \todo Make this actually work. Currently crashes happen after stopping Syncthing. + * \sa https://github.com/syncthing/syncthing/issues/4085 */ void stopSyncthing() { @@ -198,6 +200,8 @@ void stopSyncthing() /*! * \brief Restarts Syncthing if it is running; otherwise does nothing. * \returns Might be called from any thread. + * \todo Make this actually work. Currently crashes happen after stopping Syncthing. + * \sa https://github.com/syncthing/syncthing/issues/4085 */ void restartSyncthing() {