We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf536e0 commit e3a6db7Copy full SHA for e3a6db7
1 file changed
wrapper.cpp
@@ -84,7 +84,6 @@ int WrapperAPI wrapperSetCtrl(CtrlType type, void *func) {
84
int WrapperAPI wrapperInit(pConfig cfg) {
85
int ret = 0;
86
init_threads();
87
- pyWrapper = new PyWrapper();
88
std::string logDir = std::string("./log/server");
89
std::string logPath = std::string("./log/server/wrapper.log");
90
std::string loglvl = "debug";
@@ -106,6 +105,7 @@ int WrapperAPI wrapperInit(pConfig cfg) {
106
105
}
107
108
initlog(logDir, logPath);
+ pyWrapper = new PyWrapper();
109
110
setLog(loglvl);
111
printf("WrapperInit: 当前线程ID: %d \n", gettid());
0 commit comments