Rest interface uses new Kill command

This commit is contained in:
2018-01-24 16:21:56 +01:00
parent c5140fef68
commit 3869a045d8
+1 -1
View File
@@ -16,7 +16,7 @@ void start_rest_api(WriterManager& writer_manager, uint16_t port)
crow::SimpleApp app;
CROW_ROUTE(app, "/kill")([&](){
writer_manager.stop();
writer_manager.kill();
crow::json::wvalue result;