feat.支持多开

This commit is contained in:
MistEO
2022-03-05 01:23:09 +08:00
parent 1fdb131f7b
commit a688a1bc8f
23 changed files with 234 additions and 200 deletions

View File

@@ -66,8 +66,7 @@ asst::Controller::Controller(AsstCallback callback, void* callback_arg)
throw "controller pipe buffer allocated failed";
}
auto bind_pipe_working_proc = std::bind(&Controller::pipe_working_proc, this);
m_cmd_thread = std::thread(bind_pipe_working_proc);
m_cmd_thread = std::thread(&Controller::pipe_working_proc, this);
}
asst::Controller::~Controller()