Commit e02b0f4f authored by Erwan Croze's avatar Erwan Croze 👊🏻

Fix presence and conference service stop

parent ae763dc2
Pipeline #1080 passed with stage
in 15 minutes and 37 seconds
......@@ -975,12 +975,12 @@ int main(int argc, char *argv[]) {
a.reset();
#ifdef ENABLE_PRESENCE
presence_cli = nullptr;
presenceServer->stop();
if (presenceServer) presenceServer->stop();
presenceServer.reset();
#endif // ENABLE_PRESENCE
#ifdef ENABLE_CONFERENCE
conferenceServer->stop();
if (conferenceServer) conferenceServer->stop();
conferenceServer.reset();
#endif // ENABLE_CONFERENCE
......
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