Fix segfault in info websocket when requesting information on a stream that is online yet could not be opened

This commit is contained in:
Thulinma 2023-09-21 10:37:36 +02:00
parent 3235006ae0
commit ab6d565492

View file

@ -498,7 +498,7 @@ namespace Mist{
return json_resp;
}
initialize();
if (!myConn){return json_resp;}
if (!myConn || !M){return json_resp;}
json_resp["selver"] = 2;