Document issues in LibSyncthing::{stop,restart}Syncthing()

This commit is contained in:
Martchus 2018-04-18 23:28:45 +02:00
parent 0d635e5ad5
commit 2d6ca44aa5
1 changed files with 4 additions and 0 deletions

View File

@ -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()
{