mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 00:37:39 +08:00
跟踪主线程
This commit is contained in:
parent
cce92ae29f
commit
c0477c897e
@ -22,7 +22,7 @@ namespace Player {
|
||||
PlayerBase::Ptr PlayerBase::createPlayer(const char* strUrl) {
|
||||
string prefix = FindField(strUrl, NULL, "://");
|
||||
auto onDestory = [](PlayerBase *ptr){
|
||||
EventPoller::Instance().async([ptr](){
|
||||
ASYNC_TRACE([ptr](){
|
||||
delete ptr;
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user