FIX: push_notification on GUI thread

Change-Id: Iaec347f5684fe0f65d6418759518189b67033c42
Jira: STUDIO-5106
This commit is contained in:
chunmao.guo
2023-11-03 18:26:16 +08:00
committed by Lane.Wei
parent 0e716584db
commit 3c2dfeae5a
2 changed files with 6 additions and 5 deletions

View File

@@ -417,6 +417,7 @@ void MediaPlayCtrl::ToggleStream()
file.write(url2.c_str(), url2.size());
file.close();
m_streaming = true;
return;
}
NetworkAgent *agent = wxGetApp().getAgent();
if (!agent) return;