添加windows平台下卸载模块的清理

This commit is contained in:
gb 2023-08-08 11:58:55 +08:00
parent 3696107db7
commit f557cd2340
1 changed files with 4 additions and 0 deletions

View File

@ -482,6 +482,10 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
}
}
}
else if (reason == DLL_PROCESS_DETACH)
{
g_scanner_path.clear();
}
return TRUE;
}