ENH: network: refine current path logic

only use the same path as binary for current path

JIRA: STUDIO-7875

Change-Id: I5523e3b7e20b0f24de50c8d295f54b984693165a
(cherry picked from commit 62b98f783dcee8900da034b384167817155a3e59)
This commit is contained in:
lane.wei
2024-08-19 15:24:10 +08:00
committed by Noisyfox
parent a7f58f39cf
commit a0c0964b8c
2 changed files with 42 additions and 5 deletions

View File

@@ -116,6 +116,7 @@ class NetworkAgent
{
public:
static std::string get_libpath_in_current_directory(std::string library_name);
static int initialize_network_module(bool using_backup = false);
static int unload_network_module();
#if defined(_MSC_VER) || defined(_WIN32)