File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,10 @@ namespace info
147147
148148 void Stream::UpdateNamePath ()
149149 {
150- UpdateNamePath ((_app_info != nullptr )
151- ? _app_info->GetVHostAppName ()
152- : info::VHostAppName::InvalidVHostAppName ());
150+ if (_app_info != nullptr )
151+ {
152+ UpdateNamePath (_app_info->GetVHostAppName ());
153+ }
153154 }
154155
155156 ov::String Stream::GetName () const
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ namespace info
183183
184184 private:
185185 mutable std::mutex _name_path_mutex;
186- NamePath _name_path;
186+ NamePath _name_path = NamePath::UnknownNamePath() ;
187187
188188 std::chrono::system_clock::time_point _created_time;
189189 std::chrono::system_clock::time_point _published_time;
You can’t perform that action at this time.
0 commit comments