summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-06-15 20:35:55 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-06-15 20:35:55 +0200
commit2130d07cbf91e016fd21a730a8449dd4bd34a093 (patch)
treef1a4ca8d3311eb3504e84c0426dd3f9780e61e88 /src
parentbe323e65108f4c1d57312a4d26a6a24d3a380c75 (diff)
Test: server restart
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cc02b55..f9c5e98 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -342,6 +342,8 @@ void startServer(const vector<string> &)
void stopServer(const vector<string> &)
{
server.reset();
+ testPeers.clear();
+ printLine("stop-server-done");
}
void peerAdd(const vector<string> & args)