The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 186976ca authored by legoc's avatar legoc
Browse files

(split) Added test on value of output stream socket pointer in APIs

parent 5fc163c0
......@@ -466,8 +466,10 @@ void Instance::setErrorMessage(const std::string& message) {
}
void Instance::setOutputStreamSocket(std::unique_ptr<OutputStreamSocket>& socket) {
m_outputStreamSocket = std::move(socket);
m_outputStreamSocket->setApplicationId(m_id);
if (socket) {
m_outputStreamSocket = std::move(socket);
m_outputStreamSocket->setApplicationId(m_id);
}
}
void Instance::setPastStates(State pastStates) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment