Adds shutdown to ouput driver

This commit is contained in:
Johannes Wendel
2020-01-06 15:12:26 +01:00
parent 2548aee081
commit 31eb6f43d3
3 changed files with 11 additions and 2 deletions

View File

@@ -93,8 +93,7 @@ void FlippRServer::parse_server_config_file()
void FlippRServer::uninitialize()
{
this->output_driver->deactivate_all_lamps();
this->output_driver->deactivate_displays();
this->output_driver->shut_down_driver();
this->output_server->stop();
ServerApplication::uninitialize();
@@ -125,6 +124,7 @@ void FlippRServer::initialize(Application &self)
this->input_server = std::unique_ptr<TCPServer>(this->build_input_server());
//this->input_server->start();
logger().warning(FRED("Input server not started!"));
//https://gist.github.com/NIPE-SYSTEMS/5a06428c0880ed7ff3cc4304be436e3e
ServerApplication::initialize(self);