mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
Refine: main线程不再设置线程名,防止覆盖进程名
This commit is contained in:
parent
8b24088ab1
commit
341700fa5b
@ -194,8 +194,6 @@ int start_main(int argc,char *argv[]) {
|
||||
string ssl_file = cmd_main["ssl"];
|
||||
int threads = cmd_main["threads"];
|
||||
|
||||
setThreadName("main thread");
|
||||
|
||||
//设置日志
|
||||
Logger::Instance().add(std::make_shared<ConsoleChannel>("ConsoleChannel", logLevel));
|
||||
#ifndef ANDROID
|
||||
|
Loading…
Reference in New Issue
Block a user