调整设备锁线程

This commit is contained in:
13038267101 2022-12-06 08:44:22 +08:00
parent eb74a00131
commit 358fa8f301
1 changed files with 1 additions and 1 deletions

View File

@ -319,9 +319,9 @@ int hg_scanner::save_2_tempory_file(std::shared_ptr<std::vector<char>> data, std
void hg_scanner::thread_devslock_handle(void)
{
int ret = SCANNER_ERR_OK;
wait_devsislock_.wait();
while (is_firstopen_)
{
wait_devsislock_.wait();
ret = get_server_blacklist();
hg_version_free_handle();
is_firstopen_ = false;